From aba57b8a24fe13ff2afbb90b2358496f7ba3338d Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Fri, 6 Oct 2023 18:07:57 +0300 Subject: [PATCH] Force windows foreground IB-7798 Signed-off-by: Raul Metsma --- client/Application.cpp | 2 +- cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/Application.cpp b/client/Application.cpp index b0843b686..b458b86e5 100644 --- a/client/Application.cpp +++ b/client/Application.cpp @@ -920,8 +920,8 @@ void Application::showClient(const QStringList ¶ms, bool crypto, bool sign, // Required for restoring minimized window on macOS w->setWindowState(Qt::WindowActive); #endif - w->activateWindow(); w->show(); + w->activateWindow(); w->raise(); if( !params.isEmpty() ) QMetaObject::invokeMethod(w, "open", Q_ARG(QStringList,params), Q_ARG(bool,crypto), Q_ARG(bool,sign)); diff --git a/cmake b/cmake index 01ec22ddc..cb0452839 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 01ec22ddceaf93824737bed3158bd4a560c4af9d +Subproject commit cb04528398ad10dfea1802c98d4199b29fb6f616