Commit 14a28e64 authored by Jan Möbius's avatar Jan Möbius

Correctly initialize variables

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11185 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 54e99edc
......@@ -224,14 +224,14 @@ void Core::readApplicationOptions(INIFile& _ini) {
//============================================================================
// Load the setting for the default Toolbox mode
//============================================================================
QString viewmode = false;
QString viewmode = "";
if ( _ini.get_entry( viewmode, "Options" , "CurrentViewMode") )
OpenFlipper::Options::currentViewMode(viewmode);
//============================================================================
// Load the setting for the translation language
//============================================================================
QString translation = false;
QString translation = "";
if ( _ini.get_entry( translation, "Options" , "Translation") )
OpenFlipper::Options::translation(translation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment