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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <vonreth@kde.org>2022-05-05 13:12:56 +0300
committerHannah von Reth <vonreth@kde.org>2022-05-05 13:36:23 +0300
commit504635685df391cfa8594d7aedcc9b57093989fb (patch)
tree07024a73ce0d3d5b3fcebb47517a05a2bb9d3176 /src/gui/owncloudgui.cpp
parentb57c4b056d9f7292fb9b0d4c175106845afa23b1 (diff)
Resize FolderWizard when run after account wizard
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r--src/gui/owncloudgui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 5aa6d7fde..5e0cccc40 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -1040,6 +1040,7 @@ void ownCloudGui::runNewAccountWizard()
Q_ASSERT(localFolder.isEmpty());
auto *folderWizard = new FolderWizard(accountStatePtr->account(), ocApp()->gui()->settingsDialog());
+ folderWizard->resize(ocApp()->gui()->settingsDialog()->sizeHintForChild());
folderWizard->setAttribute(Qt::WA_DeleteOnClose);
// adapted from AccountSettings::slotFolderWizardAccepted()
@@ -1077,6 +1078,7 @@ void ownCloudGui::runNewAccountWizard()
});
folderWizard->open();
+ ocApp()->gui()->raiseDialog(folderWizard);
break;
}