From 7772501cdfa5b42f99005aa1a3f375018c4495c7 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Thu, 10 Jul 2014 17:23:28 +0200 Subject: [PATCH] Remove unused socketPath variable. --- src/mirall/socketapi.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp index 8a0b7c629..ec34e0263 100644 --- a/src/mirall/socketapi.cpp +++ b/src/mirall/socketapi.cpp @@ -160,15 +160,6 @@ SocketApi::SocketApi(QObject* parent, const QUrl& localFile) : QObject(parent) , _localServer(0) { - QString socketPath; - if (Utility::isWindows()) { - socketPath = QLatin1String("\\\\.\\pipe\\") - + Theme::instance()->appName(); - } else { - socketPath = localFile.toLocalFile(); - - } - // setup socket _localServer = new QTcpServer(this); _localServer->listen( QHostAddress::LocalHost, 33001);