mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
AccountSetting: Fix Small Memoy leak
This commit is contained in:
parent
a50eee8d8a
commit
413ff1c7a0
@ -362,6 +362,7 @@ void AccountSettings::slotAddFolder()
|
||||
folderMan->setSyncEnabled(false); // do not start more syncs.
|
||||
|
||||
FolderWizard *folderWizard = new FolderWizard(_accountState->account(), this);
|
||||
folderWizard->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
connect(folderWizard, &QDialog::accepted, this, &AccountSettings::slotFolderWizardAccepted);
|
||||
connect(folderWizard, &QDialog::rejected, this, &AccountSettings::slotFolderWizardRejected);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user