diff options
author | Camila <hello@camila.codes> | 2021-12-06 22:29:47 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2022-01-13 13:39:11 +0300 |
commit | fd8186ff0e7ef01f6fe8833da24fadbf34f7845a (patch) | |
tree | 9b4a003d0466f7eca841c45ed479c3ba8a43c92b /src/gui/sharedialog.h | |
parent | 82aed71d09adcae1bd965667863bcbca27bf96d3 (diff) |
ShareDialog: group links and users in one scrollbar.
- Remove the scrollbar used only for user shares
- Resize share dialog when removing share links
- Fix widget margins and max height of the share dialog
- slotAdjustScrollWidgetSize => adjustScrollWidgetSize
Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src/gui/sharedialog.h')
-rw-r--r-- | src/gui/sharedialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/sharedialog.h b/src/gui/sharedialog.h index 586bedcb7..531998d42 100644 --- a/src/gui/sharedialog.h +++ b/src/gui/sharedialog.h @@ -68,7 +68,6 @@ private slots: void slotCreatePasswordForLinkShare(const QString &password); void slotCreatePasswordForLinkShareProcessed(); void slotLinkShareRequiresPassword(const QString &message); - void slotAdjustScrollWidgetSize(); signals: void toggleShareLinkAnimation(bool start); @@ -82,6 +81,7 @@ private: void initShareManager(); ShareLinkWidget *addLinkShareWidget(const QSharedPointer<LinkShare> &linkShare); void initLinkShareWidget(); + void adjustScrollWidgetSize(); Ui::ShareDialog *_ui; @@ -99,8 +99,8 @@ private: ShareUserGroupWidget *_userGroupWidget = nullptr; QProgressIndicator *_progressIndicator = nullptr; - QWidget *_scrollAreaLinksViewPort = nullptr; - QVBoxLayout *_scrollAreaLinksLayout = nullptr; + QWidget *_scrollAreaViewPort = nullptr; + QVBoxLayout *_scrollAreaLayout = nullptr; }; } // namespace OCC |