mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 01:06:03 +03:00
Update qtlocalpeer.h
This commit is contained in:
parent
c6c4118604
commit
07f20b275e
1 changed files with 4 additions and 6 deletions
|
@ -69,10 +69,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include "qtlockedfile.h"
|
||||
|
||||
class QLocalServer;
|
||||
#include <QLockFile>
|
||||
#include <QLocalServer>
|
||||
|
||||
class QtLocalPeer final : public QObject
|
||||
{
|
||||
|
@ -94,6 +92,6 @@ private slots:
|
|||
|
||||
private:
|
||||
QString m_socketName;
|
||||
QLocalServer *m_server = nullptr;
|
||||
QtLP_Private::QtLockedFile m_lockFile;
|
||||
QLocalServer *m_server = new QLocalServer(this);
|
||||
QLockFile m_lockFile;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue