projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8928d
)
Gui: Don't try to display the wizard during shutdown
author
Hannah von Reth
<hannah.vonreth@owncloud.com>
Fri, 3 Jul 2020 08:02:53 +0000
(10:02 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:14 +0000
(10:59 +0100)
Fixes: #7936
src/gui/application.cpp
patch
|
blob
|
history
diff --git
a/src/gui/application.cpp
b/src/gui/application.cpp
index af5040b4b416fbbe658d7b0b034c1db382fcffd7..b44c37fdccbb47019fcba840560684d720dcfaea 100644
(file)
--- a/
src/gui/application.cpp
+++ b/
src/gui/application.cpp
@@
-404,7
+404,7
@@
void Application::slotAccountStateRemoved(AccountState *accountState)
}
// if there is no more account, show the wizard.
- if (AccountManager::instance()->accounts().isEmpty()) {
+ if (
_gui &&
AccountManager::instance()->accounts().isEmpty()) {
// allow to add a new account if there is non any more. Always think
// about single account theming!
OwncloudSetupWizard::runWizard(this, SLOT(slotownCloudWizardDone(int)));