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:
authorChristian Kamm <mail@ckamm.de>2018-05-13 16:46:48 +0300
committerckamm <mail@ckamm.de>2018-05-14 10:44:21 +0300
commit5e4aca8988397decdd5a95f758f5b61e5bd01366 (patch)
tree4cf0de68d12b61e48db42dfb1cf942cc7525256b /src/gui/sharelinkwidget.h
parentd917f527799366335e0b2d401423d6c82ea93eeb (diff)
ShareLink: Preserve password when unrelated ui changes #6512
Diffstat (limited to 'src/gui/sharelinkwidget.h')
-rw-r--r--src/gui/sharelinkwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/sharelinkwidget.h b/src/gui/sharelinkwidget.h
index 30188a34b..365c596b7 100644
--- a/src/gui/sharelinkwidget.h
+++ b/src/gui/sharelinkwidget.h
@@ -122,6 +122,11 @@ private:
bool _expiryRequired;
bool _namesSupported;
+ // For maintaining the selection and temporary ui state
+ // when getShares() finishes, but the selection didn't
+ // change.
+ QString _selectedShareId;
+
// When a new share is created, we want to select it
// the next time getShares() finishes. This stores its id.
QString _newShareOverrideSelectionId;