Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/QtMarbleConfigDialog.cpp
1 | // | 1 | // | ||
---|---|---|---|---|---|
2 | // This file is part of the Marble Virtual Globe. | 2 | // This file is part of the Marble Virtual Globe. | ||
3 | // | 3 | // | ||
4 | // This program is free software licensed under the GNU LGPL. You can | 4 | // This program is free software licensed under the GNU LGPL. You can | ||
5 | // find a copy of this license in LICENSE.txt in the top directory of | 5 | // find a copy of this license in LICENSE.txt in the top directory of | ||
6 | // the source code. | 6 | // the source code. | ||
7 | // | 7 | // | ||
8 | // Copyright 2009 Bastian Holst <bastianholst@gmx.de> | 8 | // Copyright 2009 Bastian Holst <bastianholst@gmx.de> | ||
9 | // Copyright 2012 Mohammed Nafees <nafees.technocool@gmail.com> | 9 | // Copyright 2012 Mohammed Nafees <nafees.technocool@gmail.com> | ||
10 | // | 10 | // | ||
11 | 11 | | |||
12 | // Own | 12 | // Own | ||
13 | #include "config-marble.h" | ||||
13 | #include "QtMarbleConfigDialog.h" | 14 | #include "QtMarbleConfigDialog.h" | ||
14 | 15 | | |||
15 | #include "ui_MarbleCacheSettingsWidget.h" | 16 | #include "ui_MarbleCacheSettingsWidget.h" | ||
16 | #include "ui_MarbleViewSettingsWidget.h" | 17 | #include "ui_MarbleViewSettingsWidget.h" | ||
17 | #include "ui_MarbleNavigationSettingsWidget.h" | 18 | #include "ui_MarbleNavigationSettingsWidget.h" | ||
18 | #include "ui_MarbleTimeSettingsWidget.h" | 19 | #include "ui_MarbleTimeSettingsWidget.h" | ||
19 | #include "ui_MarbleCloudSyncSettingsWidget.h" | 20 | #include "ui_MarbleCloudSyncSettingsWidget.h" | ||
20 | 21 | | |||
Show All 36 Lines | 55 | : ui_viewSettings(), | |||
57 | ui_cacheSettings(), | 58 | ui_cacheSettings(), | ||
58 | w_pluginSettings( nullptr ), | 59 | w_pluginSettings( nullptr ), | ||
59 | m_cloudSyncStatusLabel( nullptr ), | 60 | m_cloudSyncStatusLabel( nullptr ), | ||
60 | m_marbleWidget( marbleWidget ), | 61 | m_marbleWidget( marbleWidget ), | ||
61 | m_syncManager( cloudSyncManager ? cloudSyncManager->bookmarkSyncManager() : nullptr ), | 62 | m_syncManager( cloudSyncManager ? cloudSyncManager->bookmarkSyncManager() : nullptr ), | ||
62 | m_cloudSyncManager(cloudSyncManager), | 63 | m_cloudSyncManager(cloudSyncManager), | ||
63 | m_pluginModel() | 64 | m_pluginModel() | ||
64 | { | 65 | { | ||
66 | #ifdef APPLE_STANDARD_UNIX_BUILD | ||||
67 | QSettings::setDefaultFormat(QSettings::IniFormat); | ||||
68 | #endif | ||||
65 | } | 69 | } | ||
66 | 70 | | |||
67 | Ui::MarbleViewSettingsWidget ui_viewSettings; | 71 | Ui::MarbleViewSettingsWidget ui_viewSettings; | ||
68 | Ui::MarbleNavigationSettingsWidget ui_navigationSettings; | 72 | Ui::MarbleNavigationSettingsWidget ui_navigationSettings; | ||
69 | Ui::MarbleTimeSettingsWidget ui_timeSettings; | 73 | Ui::MarbleTimeSettingsWidget ui_timeSettings; | ||
70 | Ui::MarbleCacheSettingsWidget ui_cacheSettings; | 74 | Ui::MarbleCacheSettingsWidget ui_cacheSettings; | ||
71 | Ui::MarbleCloudSyncSettingsWidget ui_cloudSyncSettings; | 75 | Ui::MarbleCloudSyncSettingsWidget ui_cloudSyncSettings; | ||
72 | MarblePluginSettingsWidget *w_pluginSettings; | 76 | MarblePluginSettingsWidget *w_pluginSettings; | ||
▲ Show 20 Lines • Show All 586 Lines • Show Last 20 Lines |