Changeset View
Changeset View
Standalone View
Standalone View
src/apps/marble-qt/QtMainWindow.cpp
Context not available. | |||||
1116 | 1116 | | |||
---|---|---|---|---|---|
1117 | QString MainWindow::readMarbleDataPath() | 1117 | QString MainWindow::readMarbleDataPath() | ||
1118 | { | 1118 | { | ||
1119 | #ifndef APPLE_STANDALONE_BUNDLE | ||||
1120 | QSettings::setDefaultFormat(QSettings::IniFormat); | ||||
1121 | #endif | ||||
1119 | QSettings settings; | 1122 | QSettings settings; | ||
1120 | 1123 | | |||
1121 | settings.beginGroup("MarbleWidget"); | 1124 | settings.beginGroup("MarbleWidget"); | ||
Context not available. | |||||
1128 | 1131 | | |||
1129 | void MainWindow::readSettings(const QVariantMap& overrideSettings) | 1132 | void MainWindow::readSettings(const QVariantMap& overrideSettings) | ||
1130 | { | 1133 | { | ||
1134 | #ifndef APPLE_STANDALONE_BUNDLE | ||||
1135 | QSettings::setDefaultFormat(QSettings::IniFormat); | ||||
1136 | #endif | ||||
1131 | QSettings settings; | 1137 | QSettings settings; | ||
1132 | 1138 | | |||
1133 | settings.beginGroup("MainWindow"); | 1139 | settings.beginGroup("MainWindow"); | ||
Context not available. | |||||
1337 | 1343 | | |||
1338 | void MainWindow::writeSettings() | 1344 | void MainWindow::writeSettings() | ||
1339 | { | 1345 | { | ||
1346 | #ifndef APPLE_STANDALONE_BUNDLE | ||||
1347 | QSettings::setDefaultFormat(QSettings::IniFormat); | ||||
1348 | #endif | ||||
1340 | QSettings settings; | 1349 | QSettings settings; | ||
1341 | 1350 | | |||
1342 | settings.beginGroup( "MainWindow" ); | 1351 | settings.beginGroup( "MainWindow" ); | ||
Context not available. | |||||
1605 | void MainWindow::showMapWizard() | 1614 | void MainWindow::showMapWizard() | ||
1606 | { | 1615 | { | ||
1607 | QPointer<MapWizard> mapWizard = new MapWizard(); | 1616 | QPointer<MapWizard> mapWizard = new MapWizard(); | ||
1617 | #ifndef APPLE_STANDALONE_BUNDLE | ||||
1618 | QSettings::setDefaultFormat(QSettings::IniFormat); | ||||
1619 | #endif | ||||
1608 | QSettings settings; | 1620 | QSettings settings; | ||
1609 | 1621 | | |||
1610 | settings.beginGroup( "MapWizard" ); | 1622 | settings.beginGroup( "MapWizard" ); | ||
Context not available. |