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 <hannah.vonreth@owncloud.com>2021-08-13 14:49:06 +0300
committerHannah von Reth <vonreth@kde.org>2021-08-16 11:07:50 +0300
commit247beebfac0583b9e6101f54398de3fd94a47caa (patch)
tree624564296b1d8b09fbd2b7779d833bcbf8825318 /src/gui/sharedialog.cpp
parenta61080e1708a253ef8bb5673c896a75ba7ef7051 (diff)
No need to save the geometry if we don't restore
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 666280261..55424bdf3 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -56,7 +56,7 @@ ShareDialog::ShareDialog(QPointer<AccountState> accountState,
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setAttribute(Qt::WA_DeleteOnClose);
- setObjectName("SharingDialog"); // required as group for saveGeometry call
+ setObjectName("SharingDialog");
_ui->setupUi(this);
@@ -142,13 +142,6 @@ ShareDialog::~ShareDialog()
delete _ui;
}
-void ShareDialog::done(int r)
-{
- ConfigFile cfg;
- cfg.saveGeometry(this);
- QDialog::done(r);
-}
-
void ShareDialog::slotPropfindReceived(const QMap<QString, QString> &result)
{
const auto &receivedPermissions = result["share-permissions"];