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:
authorMichael Schuster <michael@schuster.ms>2019-12-21 05:04:31 +0300
committerMichael Schuster <48932272+misch7@users.noreply.github.com>2019-12-24 09:46:57 +0300
commitaddb27a085a201357d905eed95e6ac38e7b4f78d (patch)
treed6e141a04651a117089832fa5c268bdc9da407d0 /src/gui/application.h
parentbe10d5200fdefc611de60a15a96d383987331df0 (diff)
Add helper slots and signals to catch SettingsDialog's window activation events
Signal the SettingsDialog's window activation event down to ownCloudGui and Application, so that other classes can hook in to get notified when the SettingsDialog is being shown again. This approach has been chosen because we otherwise would have to deal with new instance pointers of the current SettingsWindow - but Application is already there ;-) Purpose: The floating re-auth windows of the WebFlowCredentialsDialog often get hidden behind the SettingsDialog, and the users have to minimize a lot of other windows to find them again. This commit implements the preparation for the upcoming fix commit. Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/application.h')
-rw-r--r--src/gui/application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/application.h b/src/gui/application.h
index 77abd7a97..ac303cb4c 100644
--- a/src/gui/application.h
+++ b/src/gui/application.h
@@ -82,6 +82,7 @@ protected:
signals:
void folderRemoved();
void folderStateChanged(Folder *);
+ void isShowingSettingsDialog();
protected slots:
void slotParseMessage(const QString &, QObject *);
@@ -91,6 +92,7 @@ protected slots:
void slotAccountStateAdded(AccountState *accountState);
void slotAccountStateRemoved(AccountState *accountState);
void slotSystemOnlineConfigurationChanged(QNetworkConfiguration);
+ void slotGuiIsShowingSettings();
private:
void setHelp();