diff --git a/autotests/konqhtmltest.cpp b/autotests/konqhtmltest.cpp
--- a/autotests/konqhtmltest.cpp
+++ b/autotests/konqhtmltest.cpp
@@ -27,7 +27,6 @@
#include
#include
-#include
#include
#include
@@ -68,7 +67,7 @@
if (needsUpdate) {
profile->sync();
// kbuildsycoca is the one reading mimeapps.list, so we need to run it now
- QProcess::execute(KStandardDirs::findExe(KBUILDSYCOCA_EXENAME));
+ QProcess::execute(QStandardPaths::findExecutable(KBUILDSYCOCA_EXENAME));
}
}
void cleanupTestCase()
diff --git a/autotests/konqviewmgrtest.cpp b/autotests/konqviewmgrtest.cpp
--- a/autotests/konqviewmgrtest.cpp
+++ b/autotests/konqviewmgrtest.cpp
@@ -33,9 +33,7 @@
#include
#include
#include
-#include
#include
-#include
#include
#include
@@ -215,7 +213,7 @@
if (needsUpdate) {
profile->sync();
// kbuildsycoca is the one reading mimeapps.list, so we need to run it now
- QProcess::execute(KStandardDirs::findExe(KBUILDSYCOCA_EXENAME));
+ QProcess::execute(QStandardPaths::findExecutable(KBUILDSYCOCA_EXENAME));
}
}