]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/kfileitemmodeltest.cpp
Introduce "isExpandable" role
[dolphin.git] / src / tests / kfileitemmodeltest.cpp
index ac0c59952f0f7cacc1889bed1c2efeffde2ca7b7..86a2c04a4d836b81427a5102c7d993c908899e12 100644 (file)
@@ -372,7 +372,7 @@ void KFileItemModelTest::testExpandItems()
     // yields the correct result for "a/a/1" and "a/a-1/", whis is non-trivial because they share the
     // first three characters.
     QSet<QByteArray> modelRoles = m_model->roles();
-    modelRoles << "isExpanded" << "expansionLevel";
+    modelRoles << "isExpanded" << "isExpandable" << "expansionLevel";
     m_model->setRoles(modelRoles);
 
     QStringList files;