]> cloud.milkyroute.net Git - dolphin.git/commit
Fix unit test failure
authorFrank Reininghaus <frank78ac@googlemail.com>
Sun, 12 May 2013 07:30:20 +0000 (09:30 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sun, 12 May 2013 07:34:05 +0000 (09:34 +0200)
commit3924b10b62ee76b88d6665ce8045f34dc8b48af2
tree4435674ccff0d549a6fd5c1676ea443cad1fe3f2
parentf6fcf4be851e82e13a60f469e10b207a2c7facba
Fix unit test failure

The recent commit 022b564831e2295ee3bb6e53ece53191b40d894a, which added
a few source files to kitemlistcontrollertest, caused a crash in that
test - an assert was hit because now a different virtual method was
called in one place (KStandardItemListView::initializeItemListWidget()),
and qobject_cast could not cast the 'item', which is of type
KFileItemListWidget, to its base class KStandardItemListWidget. Adding
the source file kfileitemlistwidget.cpp fixes this.

CCMAIL: ps_ml@gmx.de
src/tests/CMakeLists.txt