mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
Remove unused socketPath variable.
This commit is contained in:
parent
d1b991e198
commit
7772501cdf
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue