feat(GODT-2748): log calls that cause main window to show, with reason.

(cherry picked from commit a91d9762db)

# Conflicts:
#	internal/frontend/bridge-gui/bridge-gui/QMLBackend.h
This commit is contained in:
Xavier Michelon
2023-06-29 16:52:33 +02:00
parent 60de00c73f
commit 72911235c5
16 changed files with 160 additions and 97 deletions

View File

@ -213,7 +213,7 @@ void focusOtherInstance() {
if (!client.connectToServer(5000, sc.port, &error)) {
throw Exception("Could not connect to bridge focus service for a raise call.", error);
}
if (!client.raise().ok()) {
if (!client.raise("focusOtherInstance").ok()) {
throw Exception(QString("The raise call to the bridge focus service failed."));
}
}