]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
Refactor ShareLinkWidget show/hide widgets functions.
authorCamila <hello@camila.codes>
Wed, 22 Sep 2021 15:14:41 +0000 (17:14 +0200)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Thu, 28 Oct 2021 12:59:28 +0000 (12:59 +0000)
commit72c91362f2d6e3e137c4c52d7856660a36f3bf33
tree00520e6046284362c2689ccd62a172ea4db6f73e
parentc13668c0e944e806ff19a48d12bb4c53ef752b84
Refactor ShareLinkWidget show/hide widgets functions.

- Remove unecessary call to setupUiOptions after saving share password.
- Slot to create label: do not set it if nothing changed.
- Refactor showPasswordOptions, toggle/PasswordOptions/ExpireDateOptions/NoteOptions.
- Add const, auto and {} whenever possible.
- Refactor slotToggleButtonAnimation => toggleButtonAnimation.

Signed-off-by: Camila <hello@camila.codes>
src/gui/sharelinkwidget.cpp
src/gui/sharelinkwidget.h