diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2020-07-29 17:38:48 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2020-07-29 17:38:48 +0200 |
commit | ec36fa958d13da26ad6e110e9306ea017f50ced8 (patch) | |
tree | 25f6693ad257068f2ee1d86de019cfec6ad0499e /src/main.cpp | |
parent | f79085abfaa24ba7b70ea067519ebdf13b358cf7 (diff) | |
download | RWA.Support.DesktopApp-ec36fa958d13da26ad6e110e9306ea017f50ced8.tar.gz RWA.Support.DesktopApp-ec36fa958d13da26ad6e110e9306ea017f50ced8.tar.bz2 RWA.Support.DesktopApp-ec36fa958d13da26ad6e110e9306ea017f50ced8.zip |
Add showWindow() function
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index b29c58e..96fcab2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -48,6 +48,11 @@ int main(int argc, char *argv[]) { engine.rootObjects().takeFirst(), SLOT(minimizeWindow())); + QObject::connect(main_gui.data(), + SIGNAL(showWindow()), + engine.rootObjects().takeFirst(), + SLOT(showWindow())); + // We don't want users to have multiple instances of this app running QString tmpDirPath = QDir::tempPath() + "/rwa"; QString tmpFilePath = tmpDirPath + "/remote-support-desktop-application-prevent-multiple-instances.lock"; |