mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cloud storage: show in preferences if cloud account was verified
This should make it easier to figure out what's happening. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b5eb66545b
commit
4b120d1bf5
3 changed files with 6 additions and 3 deletions
|
@ -109,6 +109,10 @@ void PreferencesDialog::cloudPinNeeded()
|
|||
ui.cloud_storage_pin->setVisible(prefs.cloud_verification_status == CS_NEED_TO_VERIFY);
|
||||
ui.cloud_storage_pin_label->setEnabled(prefs.cloud_verification_status == CS_NEED_TO_VERIFY);
|
||||
ui.cloud_storage_pin_label->setVisible(prefs.cloud_verification_status == CS_NEED_TO_VERIFY);
|
||||
if (prefs.cloud_verification_status == CS_VERIFIED)
|
||||
ui.cloudStorageGroupBox->setTitle(tr("Subsurface cloud storage (credentials verified)"));
|
||||
else
|
||||
ui.cloudStorageGroupBox->setTitle(tr("Subsurface cloud storage"));
|
||||
}
|
||||
|
||||
#define DANGER_GF (gf > 100) ? "* { color: red; }" : ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue