From 70816685ef4c1cedc5dbaffa9dceeb7a59c95aae Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 31 Mar 2018 14:47:56 +0200 Subject: Fix crash when starting a second instance --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 102ac8e..8f0d26d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -70,8 +70,8 @@ int main(int argc, char **argv) // check for other instances bool isSingleInstance = instance.bindLocalSocket(parser.value(parser.socketOption)); - qDebug("Connected to local socket %s: %s", qUtf8Printable(instance.serverName()), isSingleInstance ? "ok" : "failed"); if(isSingleInstance) { + qDebug("Bound to local socket %s", qUtf8Printable(instance.serverName())); instance.setConfiguration(config); } -- cgit v1.2.1