summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_import_plugins/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_import_plugins/main.cpp')
-rw-r--r--tests/auto/cmake/test_import_plugins/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/cmake/test_import_plugins/main.cpp b/tests/auto/cmake/test_import_plugins/main.cpp
index 2918d557d9..2bb316368d 100644
--- a/tests/auto/cmake/test_import_plugins/main.cpp
+++ b/tests/auto/cmake/test_import_plugins/main.cpp
@@ -77,7 +77,7 @@ int main(int argc, char **argv)
std::cerr << "Loaded plugins do not match what was expected!" << std::endl
<< "Expected plugins:" << std::endl;
- QList<QString> expectedPluginList = expectedPluginSet.toList();
+ QList<QString> expectedPluginList = expectedPluginSet.values();
expectedPluginList.sort();
for (QString plugin : expectedPluginList) {
std::cerr << (actualPluginSet.contains(plugin) ? " " : "- ")
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
std::cerr << std::endl << "Actual plugins:" << std::endl;
- QList<QString> actualPluginList = actualPluginSet.toList();
+ QList<QString> actualPluginList = actualPluginSet.values();
actualPluginList.sort();
for (QString plugin : actualPluginList) {
std::cerr << (expectedPluginSet.contains(plugin) ? " " : "+ ")