From dd9bd43331c4b853cee9708c985fcc1288ce535c Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 7 Nov 2016 15:01:26 +0300 Subject: [PATCH] Closed beta 10019002: fixed build for Linux. --- Telegram/SourceFiles/platform/linux/main_window_linux.h | 2 +- Telegram/SourceFiles/platform/win/main_window_win.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.h b/Telegram/SourceFiles/platform/linux/main_window_linux.h index bff10d103..315924d79 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.h +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.h @@ -71,7 +71,7 @@ protected: void psTrayMenuUpdated(); void psSetupTrayIcon(); - QTimer psUpdatedPositionTimer; + virtual void placeSmallCounter(QImage &img, int size, int count, const style::color &bg, const QPoint &shift, const style::color &color) = 0; private: void psCreateTrayIcon(); diff --git a/Telegram/SourceFiles/platform/win/main_window_win.h b/Telegram/SourceFiles/platform/win/main_window_win.h index e7e232926..36ae6ef2a 100644 --- a/Telegram/SourceFiles/platform/win/main_window_win.h +++ b/Telegram/SourceFiles/platform/win/main_window_win.h @@ -105,6 +105,7 @@ protected: void psTrayMenuUpdated(); void psSetupTrayIcon(); + virtual void placeSmallCounter(QImage &img, int size, int count, const style::color &bg, const QPoint &shift, const style::color &color) = 0; QTimer psUpdatedPositionTimer;