Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
5e653c3d
Commit
5e653c3d
authored
Jul 23, 2009
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/main.cpp
View file @
5e653c3d
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment