diff options
Diffstat (limited to 'desktop-widgets/preferences/preferences_defaults.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_defaults.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index 7ae5e38ae..e93848f17 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -3,6 +3,7 @@ #include "ui_preferences_defaults.h" #include "core/dive.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPref.h" #include <QFileDialog> @@ -61,7 +62,7 @@ void PreferencesDefaults::refreshSettings() ui->velocitySlider->setValue(prefs.animation_speed); ui->btnUseDefaultFile->setChecked(prefs.use_default_file); - if (prefs.cloud_verification_status == CS_VERIFIED) { + if (prefs.cloud_verification_status == qPref::CS_VERIFIED) { ui->cloudDefaultFile->setEnabled(true); } else { if (ui->cloudDefaultFile->isChecked()) |