Update qtlocalpeer.h

This commit is contained in:
Saksham Goyal 2024-10-09 02:13:22 -04:00 committed by GitHub
parent c6c4118604
commit 07f20b275e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
};