Skip to content
Snippets Groups Projects
Verified Commit 9677eaa0 authored by Joe Donofry's avatar Joe Donofry
Browse files

Appease the lint gods

parent 32d67426
No related branches found
No related tags found
1 merge request!21Add ability to respond to notifications on macOS
Pipeline #3886 failed
......@@ -57,7 +57,10 @@ public:
void showChatPage();
#ifdef NHEKO_DBUS_SYS
bool dbusAvailable() const { return dbusAvailable_; }
bool dbusAvailable() const
{
return dbusAvailable_;
}
#endif
Q_INVOKABLE void addPerRoomWindow(const QString &room, QWindow *window);
......
......@@ -13,7 +13,7 @@
#import <UserNotifications/UserNotifications.h>
@interface MacNotificationDelegate : NSObject <UNUserNotificationCenterDelegate> {
std::unique_ptr<NotificationManagerProxy> mProxy;
std::unique_ptr<NotificationManagerProxy> mProxy;
}
- (id)initWithProxy:(std::unique_ptr<NotificationManagerProxy>&&)proxy;
......
......@@ -12,7 +12,10 @@ class NotificationManagerProxy final : public QObject
{
Q_OBJECT
public:
NotificationManagerProxy(QObject *parent = nullptr): QObject(parent) {}
NotificationManagerProxy(QObject *parent = nullptr)
: QObject(parent)
{
}
signals:
void notificationReplied(const QString &room, const QString &event, const QString &reply);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment