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

Forward bar and unread counter added to top bar in OneColumn layout.

This commit is contained in:
John Preston
2016-11-06 20:23:13 +03:00
parent d12177befd
commit b3d1602354
25 changed files with 164 additions and 30 deletions

View File

@@ -144,8 +144,6 @@ public:
bool isActive(bool cached = true) const;
void hideMediaview();
void updateUnreadCounter();
QImage iconWithCounter(int size, int count, const style::color &bg, const style::color &fg, bool smallIcon);
bool contentOverlapped(const QRect &globalRect);
@@ -217,6 +215,7 @@ private slots:
void onWindowActiveChanged();
private:
void updateUnreadCounter();
void showConnecting(const QString &text, const QString &reconnect = QString());
void hideConnecting();