aboutsummaryrefslogtreecommitdiff
path: root/src/singleapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/singleapplication.h')
-rw-r--r--src/singleapplication.h10
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