Commit 88121d70 authored by Jan Möbius's avatar Jan Möbius

Preparation for Qsettings


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7718 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bb18c4cd
...@@ -186,6 +186,9 @@ void Core::saveOptions(){ ...@@ -186,6 +186,9 @@ void Core::saveOptions(){
void Core::setupOptions() { void Core::setupOptions() {
// initialize the Settings:
OpenFlipper::Options::initializeSettings();
// Get the Main config dir in the home directory and possibly create it // Get the Main config dir in the home directory and possibly create it
QDir configDir = QDir::home(); QDir configDir = QDir::home();
......
...@@ -1082,6 +1082,12 @@ bool renderPicking( ) { ...@@ -1082,6 +1082,12 @@ bool renderPicking( ) {
return renderPicking_; return renderPicking_;
} }
/// Internal function called by the core to connect to the program options
DLLEXPORT
bool initializeSettings() {
}
} }
} }
......
...@@ -969,6 +969,12 @@ DLLEXPORT ...@@ -969,6 +969,12 @@ DLLEXPORT
bool renderPicking( ); bool renderPicking( );
/** @} */ /** @} */
/// Internal function called by the core to connect to the program options
DLLEXPORT
bool initializeSettings();
} }
} }
......
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