File: Drop_calls.patch

package info (click to toggle)
linphone-desktop 5.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,832 kB
  • sloc: cpp: 32,911; javascript: 1,684; sh: 319; makefile: 38
file content (23 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Bastian Germann <bage@debian.org>
Date: Tue, 4 Mar 2025 20:16:07 +0100
Subject: Drop setWindowIcon and setQuitOnLastWindowClosed calls
---
--- a/linphone-app/src/app/App.cpp
+++ b/linphone-app/src/app/App.cpp
@@ -271,7 +271,6 @@ App::App(int &argc, char *argv[])
 	QSurfaceFormat::setDefaultFormat(ignoreVSync);
 	connect(this, SIGNAL(applicationStateChanged(Qt::ApplicationState)), this,
 	        SLOT(stateChanged(Qt::ApplicationState)));
-	setWindowIcon(QIcon(Constants::WindowIconPath));
 
 #ifdef Q_OS_WIN
 	char tz[255] = {0};
@@ -473,8 +472,6 @@ void App::initContentApp() {
 		VideoCodecsModel::updateCodecs();
 		VideoCodecsModel::downloadUpdatableCodecs(this);
 
-		// Don't quit if last window is closed!!!
-		setQuitOnLastWindowClosed(false);
 
 #ifndef Q_OS_MACOS
 		mustBeIconified = mParser->isSet("iconified");