Commit 52b3c15f authored by David Faure's avatar David Faure
Browse files

autotests: backport XDG_DATA_DIRS

parent 6fdb3f6d
......@@ -49,6 +49,9 @@ private Q_SLOTS:
// update-mime-database needs to know about that test directory for the mimetype pattern change in testMimeTypePatterns to have an effect
qputenv("XDG_DATA_HOME", QFile::encodeName(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)));
m_mimeTypeCreatedSuccessfully = false;
QStringList appsDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
//qDebug() << appsDirs;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment