mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove some unused code.
This commit is contained in:
@@ -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) {
|
||||
|
@@ -20,11 +20,6 @@ public:
|
||||
explicit MainWindow(not_null<Window::Controller*> 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;
|
||||
|
||||
|
Reference in New Issue
Block a user