From 9ae752dfcff10229667face147b88cc0384913e3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 15 May 2018 14:27:56 +0200 Subject: [PATCH] feat(App): add an option to the linphonerc to disable calls windows --- src/app/App.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/App.cpp b/src/app/App.cpp index 8880f83e9..3512ff336 100644 --- a/src/app/App.cpp +++ b/src/app/App.cpp @@ -312,6 +312,9 @@ QQuickWindow *App::getSettingsWindow () { // ----------------------------------------------------------------------------- void App::smartShowWindow (QQuickWindow *window) { + if (!window) + return; + window->setVisible(true); if (window->visibility() == QWindow::Minimized)