From 705249718c3172cf845f8525d9867a29fe1240fa Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 30 Jan 2018 19:23:34 +0100 Subject: Always connect to local socket --- src/singleapplication.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/singleapplication.h') diff --git a/src/singleapplication.h b/src/singleapplication.h index 4d75da6..05b7b40 100644 --- a/src/singleapplication.h +++ b/src/singleapplication.h @@ -6,8 +6,8 @@ * SPDX-License-Identifier: GPL-3.0 */ -#ifndef SINGLEAPPLICATION_H -#define SINGLEAPPLICATION_H +#ifndef SMOLBOTE_SINGLEAPPLICATION_H +#define SMOLBOTE_SINGLEAPPLICATION_H #include @@ -18,9 +18,9 @@ class SingleApplication : public QApplication public: explicit SingleApplication(int &argc, char **argv); - ~SingleApplication(); + ~SingleApplication() override; - bool bindLocalSocket(const QString &name = QString()); + bool bindLocalSocket(const QString &name); QString serverName() const; int sendMessage(const QString &profileName, bool newWindow, const QStringList &urls); @@ -38,4 +38,4 @@ private: QLocalServer *m_localServer = nullptr; }; -#endif // SINGLEAPPLICATION_H +#endif // SMOLBOTE_SINGLEAPPLICATION_H -- cgit v1.2.1