mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Fix unit test failure
The recent commit 022b564831
, 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
This commit is contained in:
parent
854fab5bfa
commit
958f1871f1
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ set(kitemlistcontrollertest_SRCS
|
|||
testdir.cpp
|
||||
../kitemviews/kfileitemmodel.cpp
|
||||
../kitemviews/kfileitemlistview.cpp
|
||||
../kitemviews/kfileitemlistwidget.cpp
|
||||
../kitemviews/kitemmodelbase.cpp
|
||||
../kitemviews/kitemlistview.cpp
|
||||
../kitemviews/kitemlistcontainer.cpp
|
||||
|
|
Loading…
Reference in a new issue