Commit 5e653c3d authored by Robert Loehning's avatar Robert Loehning
Browse files

Changing plugin paths to native separators to avoid showing messages with mixed

separators / and \ on Windows.

Reviewed-by: Friedemann Kleint
parent ae634437
......@@ -178,7 +178,7 @@ static inline QStringList getPluginPaths()
// Figure out root: Up one from 'bin'
QDir rootDir = QApplication::applicationDirPath();
rootDir.cdUp();
const QString rootDirPath = rootDir.canonicalPath();
const QString rootDirPath = QDir::toNativeSeparators(rootDir.canonicalPath());
// 1) "plugins" (Win/Linux)
QString pluginPath = rootDirPath;
pluginPath += QDir::separator();
......
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