diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-30 19:23:34 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-30 19:23:34 +0100 |
commit | 705249718c3172cf845f8525d9867a29fe1240fa (patch) | |
tree | 7fafee76b2d371284ebd9ad8ba011df1e7664eab /src/singleapplication.h | |
parent | Profile menu lists loadable profiles (diff) | |
download | smolbote-705249718c3172cf845f8525d9867a29fe1240fa.tar.xz |
Always connect to local socket
Diffstat (limited to 'src/singleapplication.h')
-rw-r--r-- | src/singleapplication.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <QApplication> @@ -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 |