diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 0a2cad531..e3a60a92f 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -585,8 +585,6 @@ void MainWindow::psFirstShow() { LOG(("Not using Unity Launcher count.")); } - psUpdateMargins(); - bool showShadows = true; show(); @@ -611,12 +609,6 @@ void MainWindow::psFirstShow() { setPositionInited(); } -void MainWindow::psInitSysMenu() { -} - -void MainWindow::psUpdateMargins() { -} - MainWindow::~MainWindow() { #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION if (_trayIcon) { diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.h b/Telegram/SourceFiles/platform/linux/main_window_linux.h index cea307c5e..bc7eb98c1 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.h +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.h @@ -20,11 +20,6 @@ public: explicit MainWindow(not_null controller); void psFirstShow(); - void psInitSysMenu(); - void psUpdateMargins(); - - void psRefreshTaskbarIcon() { - } virtual QImage iconWithCounter(int size, int count, style::color bg, style::color fg, bool smallIcon) = 0; diff --git a/Telegram/SourceFiles/platform/mac/main_window_mac.h b/Telegram/SourceFiles/platform/mac/main_window_mac.h index 967ea8168..933c0e84c 100644 --- a/Telegram/SourceFiles/platform/mac/main_window_mac.h +++ b/Telegram/SourceFiles/platform/mac/main_window_mac.h @@ -24,11 +24,6 @@ public: explicit MainWindow(not_null controller); void psFirstShow(); - void psInitSysMenu(); - void psUpdateMargins(); - - void psRefreshTaskbarIcon() { - } bool psFilterNativeEvent(void *event); diff --git a/Telegram/SourceFiles/platform/mac/main_window_mac.mm b/Telegram/SourceFiles/platform/mac/main_window_mac.mm index 487970e34..a67c278e4 100644 --- a/Telegram/SourceFiles/platform/mac/main_window_mac.mm +++ b/Telegram/SourceFiles/platform/mac/main_window_mac.mm @@ -635,8 +635,6 @@ void MainWindow::updateIconCounters() { } void MainWindow::psFirstShow() { - psUpdateMargins(); - bool showShadows = true; show(); @@ -775,12 +773,6 @@ void MainWindow::psMacClearFormat() { SendKeySequence(Qt::Key_N, Qt::ControlModifier | Qt::ShiftModifier); } -void MainWindow::psInitSysMenu() { -} - -void MainWindow::psUpdateMargins() { -} - void MainWindow::updateGlobalMenuHook() { if (!App::wnd() || !positionInited()) return;