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
Tobias Hunger
qt-creator
Commits
da5f8d7c
Commit
da5f8d7c
authored
Apr 08, 2009
by
Thorbjørn Lindeijer
Browse files
Fixed compiling with gcc 3.3
parent
48dcc26d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4runconfiguration.cpp
View file @
da5f8d7c
...
...
@@ -226,7 +226,7 @@ QWidget *Qt4RunConfiguration::configurationWidget()
void
Qt4RunConfiguration
::
save
(
PersistentSettingsWriter
&
writer
)
const
{
QDir
projectDir
(
QFileInfo
(
project
()
->
file
()
->
fileName
()).
absoluteDir
()
)
;
const
QDir
projectDir
=
QFileInfo
(
project
()
->
file
()
->
fileName
()).
absoluteDir
();
writer
.
saveValue
(
"CommandLineArguments"
,
m_commandLineArguments
);
writer
.
saveValue
(
"ProFile"
,
projectDir
.
relativeFilePath
(
m_proFilePath
));
writer
.
saveValue
(
"UserSetName"
,
m_userSetName
);
...
...
@@ -238,7 +238,7 @@ void Qt4RunConfiguration::save(PersistentSettingsWriter &writer) const
void
Qt4RunConfiguration
::
restore
(
const
PersistentSettingsReader
&
reader
)
{
ApplicationRunConfiguration
::
restore
(
reader
);
QDir
projectDir
(
QFileInfo
(
project
()
->
file
()
->
fileName
()).
absoluteDir
()
)
;
const
QDir
projectDir
=
QFileInfo
(
project
()
->
file
()
->
fileName
()).
absoluteDir
();
m_commandLineArguments
=
reader
.
restoreValue
(
"CommandLineArguments"
).
toStringList
();
m_proFilePath
=
projectDir
.
filePath
(
reader
.
restoreValue
(
"ProFile"
).
toString
());
m_userSetName
=
reader
.
restoreValue
(
"UserSetName"
).
toBool
();
...
...
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