2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add top bar menu and notifications toggle.

This commit is contained in:
John Preston
2017-11-07 19:12:54 +04:00
parent 9743dc1ffb
commit 5f0ba48309
10 changed files with 201 additions and 70 deletions

View File

@@ -119,8 +119,6 @@ public slots:
void onParentGeometryChanged();
void onDialogRowReplaced(Dialogs::Row *oldRow, Dialogs::Row *newRow);
void onMenuDestroyed(QObject*);
signals:
void draggingScrollDelta(int delta);
void mustScrollTo(int scrollToTop, int scrollToBottom);
@@ -293,8 +291,8 @@ private:
Text _searchFromUserText;
PeerData *_menuPeer = nullptr;
Ui::PopupMenu *_menu = nullptr;
base::lambda<void()> _loadMoreCallback;
base::unique_qptr<Ui::PopupMenu> _menu;
};