Commit f4ec27cd authored by Robert Loehning's avatar Robert Loehning
Browse files

Using QLatin1Char for directory separators in getPluginPaths()

Reviewed-by: dt
parent e73cf2d1
......@@ -181,16 +181,16 @@ static inline QStringList getPluginPaths()
const QString rootDirPath = rootDir.canonicalPath();
// 1) "plugins" (Win/Linux)
QString pluginPath = rootDirPath;
pluginPath += '/';
pluginPath += QLatin1Char('/');
pluginPath += QLatin1String(IDE_LIBRARY_BASENAME);
pluginPath += '/';
pluginPath += QLatin1Char('/');
pluginPath += QLatin1String("qtcreator");
pluginPath += '/';
pluginPath += QLatin1Char('/');
pluginPath += QLatin1String("plugins");
rc.push_back(pluginPath);
// 2) "PlugIns" (OS X)
pluginPath = rootDirPath;
pluginPath += '/';
pluginPath += QLatin1Char('/');
pluginPath += QLatin1String("PlugIns");
rc.push_back(pluginPath);
return rc;
......
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