Skip to content
GitLab
Menu
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
92c034b1
Commit
92c034b1
authored
Apr 29, 2009
by
Alessandro Portale
Browse files
Don't annoy Windows users with alien dir separators
parent
a2c7d317
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/projectloadwizard.cpp
View file @
92c034b1
...
...
@@ -190,7 +190,7 @@ void ProjectLoadWizard::setupImportPage(QtVersion *version, QtVersion::QmakeBuil
QVBoxLayout
*
importLayout
=
new
QVBoxLayout
(
importPage
);
importLabel
=
new
QLabel
(
importPage
);
QString
versionString
=
version
->
name
()
+
" ("
+
version
->
path
()
+
")"
;
QString
versionString
=
version
->
name
()
+
" ("
+
QDir
::
toNativeSeparators
(
version
->
path
()
)
+
")"
;
QString
buildConfigString
=
(
buildConfig
&
QtVersion
::
BuildAll
)
?
QLatin1String
(
"debug_and_release "
)
:
QLatin1String
(
""
);
buildConfigString
.
append
((
buildConfig
&
QtVersion
::
DebugBuild
)
?
QLatin1String
(
"debug"
)
:
QLatin1String
(
"release"
));
importLabel
->
setTextFormat
(
Qt
::
RichText
);
...
...
@@ -211,7 +211,7 @@ void ProjectLoadWizard::setupImportPage(QtVersion *version, QtVersion::QmakeBuil
import2Label
->
setTextFormat
(
Qt
::
RichText
);
if
(
m_temporaryVersion
)
import2Label
->
setText
(
tr
(
"<b>Note:</b> Importing the settings will automatically add the Qt Version from:<br><b>%1</b> to the list of qt versions."
)
.
arg
(
m_importVersion
->
path
()));
.
arg
(
QDir
::
toNativeSeparators
(
m_importVersion
->
path
()))
)
;
importLayout
->
addWidget
(
import2Label
);
addPage
(
importPage
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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