Commit b1ba1a56 authored by Dirk Wilden's avatar Dirk Wilden

fixed viewModes..now also blanks supported ;)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6999 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6ede9ff2
......@@ -86,7 +86,7 @@ void Core::readApplicationOptions(INIFile& _ini) {
if ( !_ini.get_entry( entry , "Options" , key ) ) continue;
QStringList widgets = entry.split(" ");
QStringList widgets = entry.split(";");
QString mode = widgets.first();
widgets.removeFirst();
......@@ -494,7 +494,7 @@ void Core::writeApplicationOptions(INIFile& _ini) {
//store widgets
for (int j=0; j < coreWidget_->viewModes_[i]->visibleWidgets.size(); j++)
entry += " " + coreWidget_->viewModes_[i]->visibleWidgets[j];
entry += ";" + coreWidget_->viewModes_[i]->visibleWidgets[j];
entries.push_back(entry);
}
......
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