SVN commit 867178 by ereslibre: safer cast M +5 -1 kdiroperator.cpp --- trunk/KDE/kdelibs/kfile/kdiroperator.cpp #867177:867178 @@ -2379,8 +2379,12 @@ return; } - QListView *view = static_cast(itemView); + QListView *view = qobject_cast(itemView); + if (!view) { + return; + } + const bool leftChecked = actionCollection->action("decorationAtLeft")->isChecked(); if (leftChecked) {