diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-08 23:40:55 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-08 23:40:55 -0400 |
commit | 0aa78afdf773a7f837d223b33e26795330197c3b (patch) | |
tree | e46e02920fc4563026d058ef91853ae09cf984c3 /src-qt5/core | |
parent | A few quick updates to the Fireflies screensaver. (diff) | |
parent | move video thumbnail files in case Zach decides to go that route (diff) | |
download | lumina-0aa78afdf773a7f837d223b33e26795330197c3b.tar.gz lumina-0aa78afdf773a7f837d223b33e26795330197c3b.tar.bz2 lumina-0aa78afdf773a7f837d223b33e26795330197c3b.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/libLumina/LuminaSingleApplication.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src-qt5/core/libLumina/LuminaSingleApplication.cpp b/src-qt5/core/libLumina/LuminaSingleApplication.cpp index 86248666..6811d147 100644 --- a/src-qt5/core/libLumina/LuminaSingleApplication.cpp +++ b/src-qt5/core/libLumina/LuminaSingleApplication.cpp @@ -107,17 +107,17 @@ void LSingleApplication::PerformLockChecks(){ QLocalSocket socket(this); socket.connectToServer(cfile); socket.waitForConnected(); - if(!socket.isValid() || socket.state()!=QLocalSocket::ConnectedState){ + if(!socket.isValid() || socket.state()!=QLocalSocket::ConnectedState){ //error - could not forward info for some reason qDebug() << " - Could not connect to locking process: exiting..."; - exit(1); - } - - qDebug() << " - Forwarding inputs to locking process and closing down this instance..."; + exit(1); + } + + qDebug() << " - Forwarding inputs to locking process and closing down this instance..."; socket.write( inputlist.join("::::").toLocal8Bit() ); socket.waitForDisconnected(500); //max out at 1/2 second (only hits this if no inputs) } - + } //New messages detected |