summary refs log tree commit diff
path: root/src/notifications/ManagerLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifications/ManagerLinux.cpp')
-rw-r--r--src/notifications/ManagerLinux.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp
index 3f7a6b5d..ea46f5d7 100644
--- a/src/notifications/ManagerLinux.cpp
+++ b/src/notifications/ManagerLinux.cpp
@@ -108,7 +108,8 @@ NotificationsManager::postNotification(const mtx::responses::Notification &notif
         if (hasImages_ &&
             mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Image) {
             MxcImageProvider::download(
-              QString::fromStdString(mtx::accessors::url(notification.event)).remove(QStringLiteral("mxc://")),
+              QString::fromStdString(mtx::accessors::url(notification.event))
+                .remove(QStringLiteral("mxc://")),
               QSize(200, 80),
               [postNotif, notification, template_](QString, QSize, QImage, QString imgPath) {
                   if (imgPath.isEmpty())
@@ -184,9 +185,9 @@ NotificationsManager::systemPostNotification(const QString &room_id,
     // TODO(Nico): Look into what to actually put there.
     argumentList << (QStringList(QStringLiteral("default"))
                      << QLatin1String("") << QStringLiteral("inline-reply")
-                     << QLatin1String(""));         // actions
-    argumentList << hints;                          // hints
-    argumentList << (int)-1;                        // timeout in ms
+                     << QLatin1String("")); // actions
+    argumentList << hints;                  // hints
+    argumentList << (int)-1;                // timeout in ms
 
     QDBusPendingCall call = dbus.asyncCallWithArgumentList(QStringLiteral("Notify"), argumentList);
     auto watcher          = new QDBusPendingCallWatcher{call, this};