diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-26 17:40:06 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-26 18:10:42 +0100 |
| commit | 832e157ecd1a1640b82425358b20fff416a2f8b7 (patch) | |
| tree | f7bd0c344151fe3ef6354ae410f9b45b3b7e0a10 /src/tests/kitemlistcontrollertest.cpp | |
| parent | 41424d010934e0a47958d0192c7c4de69ea3e955 (diff) | |
Port away from KDELibs4Support (we only use KDELibs4Support when baloo isn't present, because KFileMetaDataWidget is in KDELibs4Support)
Reviewed-By: Vishesh Handa
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index dafb9f854..e34731fa4 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -142,7 +142,7 @@ void KItemListControllerTest::initTestCase() QVERIFY(spyDirectoryLoadingCompleted.wait()); m_container->show(); - QTest::qWaitForWindowShown(m_container); + QTest::qWaitForWindowExposed(m_container); } void KItemListControllerTest::cleanupTestCase() @@ -460,7 +460,7 @@ void KItemListControllerTest::testKeyboardNavigation_data() selectionBehaviorNames[selectionBehavior] + ", " + groupingEnabledNames[groupingEnabled]; - const QByteArray testNameAscii = testName.toAscii(); + const QByteArray testNameAscii = testName.toLatin1(); QTest::newRow(testNameAscii.data()) << layout |
