Home
Phabricator
Search
Log In
Differential
D8619
Diff 21776
src/filewidgets/kfileplacesview.cpp
Changeset View
You use qobject_cast elsewhere, why not here too?
Or even... you use static_cast for the delegate in 90% of the code, why two uses of qobject_cast?
If it's mandatory for the delegate to be a KFilePlacesViewDelegate, it's mandatory everywhere, right?
(too bad setItemDelegate isn't virtual, we could have caught it there...)