Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
a4466617
Commit
a4466617
authored
Feb 27, 2010
by
Hugo Beauzee-Luyssen
Browse files
Don't try to load an old config file.
parent
273d6142
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Gui/MainWindow.cpp
View file @
a4466617
...
...
@@ -198,10 +198,15 @@ MainWindow::initVlmcPreferences()
SettingsManager
::
Vlmc
);
//Load saved preferences :
loadVlmcPreferences
(
"keyboard"
);
loadVlmcPreferences
(
"general"
);
QSettings
s
;
if
(
s
.
value
(
"VlmcVersion"
).
toString
()
!=
PROJECT_VERSION
)
s
.
clear
();
else
{
loadVlmcPreferences
(
"keyboard"
);
loadVlmcPreferences
(
"general"
);
}
s
.
setValue
(
"VlmcVersion"
,
PROJECT_VERSION
);
}
void
...
...
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