mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Remove some unused code.
This commit is contained in:
@@ -585,8 +585,6 @@ void MainWindow::psFirstShow() {
|
|||||||
LOG(("Not using Unity Launcher count."));
|
LOG(("Not using Unity Launcher count."));
|
||||||
}
|
}
|
||||||
|
|
||||||
psUpdateMargins();
|
|
||||||
|
|
||||||
bool showShadows = true;
|
bool showShadows = true;
|
||||||
|
|
||||||
show();
|
show();
|
||||||
@@ -611,12 +609,6 @@ void MainWindow::psFirstShow() {
|
|||||||
setPositionInited();
|
setPositionInited();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::psInitSysMenu() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::psUpdateMargins() {
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow() {
|
MainWindow::~MainWindow() {
|
||||||
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
|
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
|
||||||
if (_trayIcon) {
|
if (_trayIcon) {
|
||||||
|
@@ -20,11 +20,6 @@ public:
|
|||||||
explicit MainWindow(not_null<Window::Controller*> controller);
|
explicit MainWindow(not_null<Window::Controller*> controller);
|
||||||
|
|
||||||
void psFirstShow();
|
void psFirstShow();
|
||||||
void psInitSysMenu();
|
|
||||||
void psUpdateMargins();
|
|
||||||
|
|
||||||
void psRefreshTaskbarIcon() {
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual QImage iconWithCounter(int size, int count, style::color bg, style::color fg, bool smallIcon) = 0;
|
virtual QImage iconWithCounter(int size, int count, style::color bg, style::color fg, bool smallIcon) = 0;
|
||||||
|
|
||||||
|
@@ -24,11 +24,6 @@ public:
|
|||||||
explicit MainWindow(not_null<Window::Controller*> controller);
|
explicit MainWindow(not_null<Window::Controller*> controller);
|
||||||
|
|
||||||
void psFirstShow();
|
void psFirstShow();
|
||||||
void psInitSysMenu();
|
|
||||||
void psUpdateMargins();
|
|
||||||
|
|
||||||
void psRefreshTaskbarIcon() {
|
|
||||||
}
|
|
||||||
|
|
||||||
bool psFilterNativeEvent(void *event);
|
bool psFilterNativeEvent(void *event);
|
||||||
|
|
||||||
|
@@ -635,8 +635,6 @@ void MainWindow::updateIconCounters() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::psFirstShow() {
|
void MainWindow::psFirstShow() {
|
||||||
psUpdateMargins();
|
|
||||||
|
|
||||||
bool showShadows = true;
|
bool showShadows = true;
|
||||||
|
|
||||||
show();
|
show();
|
||||||
@@ -775,12 +773,6 @@ void MainWindow::psMacClearFormat() {
|
|||||||
SendKeySequence(Qt::Key_N, Qt::ControlModifier | Qt::ShiftModifier);
|
SendKeySequence(Qt::Key_N, Qt::ControlModifier | Qt::ShiftModifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::psInitSysMenu() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::psUpdateMargins() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::updateGlobalMenuHook() {
|
void MainWindow::updateGlobalMenuHook() {
|
||||||
if (!App::wnd() || !positionInited()) return;
|
if (!App::wnd() || !positionInited()) return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user