mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Remove some unused code.
This commit is contained in:
parent
c87f9d0074
commit
2fc9fd5887
4 changed files with 0 additions and 26 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -24,11 +24,6 @@ public:
|
|||
explicit MainWindow(not_null<Window::Controller*> controller);
|
||||
|
||||
void psFirstShow();
|
||||
void psInitSysMenu();
|
||||
void psUpdateMargins();
|
||||
|
||||
void psRefreshTaskbarIcon() {
|
||||
}
|
||||
|
||||
bool psFilterNativeEvent(void *event);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue