Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2018-04-02 18:46:26 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-30 23:05:59 +0300
commita6331c7a754fcc222caf31846f9eddfbcb93dc91 (patch)
treee0b78291ca221df5243b106bbf066a76d22087c2 /src/gui/settingsdialog.h
parent22a6303c9d01476a33be30f7e6068f26f0676f99 (diff)
Fixes widget stack visibility when switching actions.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r--src/gui/settingsdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h
index 0aaa5fdbc..c64796ce0 100644
--- a/src/gui/settingsdialog.h
+++ b/src/gui/settingsdialog.h
@@ -74,6 +74,7 @@ private slots:
private:
void customizeStyle();
+ void activityAdded(AccountState *);
QIcon createColorAwareIcon(const QString &name);
QAction *createColorAwareAction(const QString &iconName, const QString &fileName);
@@ -82,6 +83,7 @@ private:
Ui::SettingsDialog *const _ui;
QActionGroup *_actionGroup;
+ QAction *_actionBefore;
// Maps the actions from the action group to the corresponding widgets
QHash<QAction *, QWidget *> _actionGroupWidgets;
@@ -90,7 +92,7 @@ private:
QHash<Account *, QAction *> _actionForAccount;
QToolBar *_toolBar;
- QMap<AccountStatePtr, ActivitySettings *> _activitySettings;
+ QMap<AccountState *, ActivitySettings *> _activitySettings;
ownCloudGui *_gui;
};