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
5937f2cf
Commit
5937f2cf
authored
Feb 18, 2010
by
Tobias Hunger
Browse files
Do not convert empty .user files to newer versions
parent
7da7ae9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/userfileaccessor.cpp
View file @
5937f2cf
...
...
@@ -169,8 +169,11 @@ QVariantMap UserFileAccessor::restoreSettings(Project *project)
if
(
m_lastVersion
<
0
||
!
project
)
return
QVariantMap
();
PersistentSettingsReader
reader
;
QString
fileName
(
fileNameFor
(
project
->
file
()
->
fileName
()));
if
(
!
QFile
::
exists
(
fileName
))
return
QVariantMap
();
PersistentSettingsReader
reader
;
reader
.
load
(
fileName
);
QVariantMap
map
(
reader
.
restoreValues
());
...
...
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