2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Passcode lock button added to DialogsWidget.

This commit is contained in:
John Preston
2016-11-04 22:50:35 +03:00
parent 3a599e0752
commit e693a98bd4
36 changed files with 812 additions and 777 deletions

View File

@@ -233,7 +233,7 @@ private:
};
class DialogsWidget : public TWidget, public RPCSender {
class DialogsWidget : public TWidget, public RPCSender, private base::Subscriber {
Q_OBJECT
public:
@@ -315,6 +315,8 @@ public slots:
private:
void showMainMenu();
void updateLockUnlockVisibility();
void updateControlsGeometry();
void updateMainMenuGeometry();
bool _dragInScroll = false;
@@ -338,6 +340,7 @@ private:
ChildWidget<Ui::DropdownMenu> _mainMenu = { nullptr };
ChildWidget<FlatInput> _filter;
ChildWidget<Ui::IconButton> _cancelSearch;
ChildWidget<Ui::IconButton> _lockUnlock;
ScrollArea _scroll;
DialogsInner _inner;