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

Start showing folder chats list.

This commit is contained in:
John Preston
2019-04-16 22:06:15 +04:00
parent 0c0d6bc411
commit 927735dff2
3 changed files with 25 additions and 9 deletions

View File

@@ -54,6 +54,7 @@ public:
void activate();
bool cancelFolder();
void selectSkip(int32 direction);
void selectSkipPage(int32 pixels, int32 direction);
@@ -269,7 +270,7 @@ private:
void clearSearchResults(bool clearPeerSearchResults = true);
void updateSelectedRow(Dialogs::Key key = Dialogs::Key());
Dialogs::IndexedList *shownDialogs() const;
not_null<Dialogs::IndexedList*> shownDialogs() const;
void checkReorderPinnedStart(QPoint localPosition);
int shownPinnedCount() const;
@@ -288,6 +289,7 @@ private:
std::optional<QPoint> _lastMousePosition;
Qt::MouseButton _pressButton = Qt::LeftButton;
Dialogs::IndexedList *_folderChatsList = nullptr;
std::unique_ptr<ImportantSwitch> _importantSwitch;
bool _importantSwitchSelected = false;
bool _importantSwitchPressed = false;