aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-29 17:38:48 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-29 17:38:48 +0200
commitec36fa958d13da26ad6e110e9306ea017f50ced8 (patch)
tree25f6693ad257068f2ee1d86de019cfec6ad0499e /src/main.cpp
parentf79085abfaa24ba7b70ea067519ebdf13b358cf7 (diff)
downloadRWA.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.cpp5
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";