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."));
 | 
							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;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue