Tobias Hieta пре 9 година
родитељ
комит
fb3c4452c9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/shared/UniqueApplication.h

+ 1 - 1
src/shared/UniqueApplication.h

@@ -33,7 +33,7 @@ public:
         emit otherApplicationStarted();
     });
 
-    if (m_server->listen())
+    if (!m_server->listen())
       throw FatalException("Failed to listen to uniqueApp socket: " + m_server->errorString());
   }