diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 00:35:15 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 01:04:07 +0100 |
commit | a6f0d2ea7d8eb359e7d9ca7b5aac91ffe9d140ec (patch) | |
tree | aab5ff97d57e57ea675e27adbf80449939cedebe /src/notifications | |
parent | Avoid some duplicate property queries (diff) | |
download | nheko-a6f0d2ea7d8eb359e7d9ca7b5aac91ffe9d140ec.tar.xz |
Update license headers
Diffstat (limited to 'src/notifications')
-rw-r--r-- | src/notifications/Manager.h | 4 | ||||
-rw-r--r-- | src/notifications/ManagerLinux.cpp | 13 | ||||
-rw-r--r-- | src/notifications/ManagerWin.cpp | 4 |
3 files changed, 14 insertions, 7 deletions
diff --git a/src/notifications/Manager.h b/src/notifications/Manager.h index 950740ba..e2b3236a 100644 --- a/src/notifications/Manager.h +++ b/src/notifications/Manager.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 Nheko Contributors +// +// SPDX-License-Identifier: GPL-3.0-or-later + #pragma once #include <QImage> diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp index c7fd4023..a222bd36 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp @@ -44,12 +44,11 @@ NotificationsManager::NotificationsManager(QObject *parent) SLOT(notificationReplied(uint, QString))); } -/** - * This function is based on code from - * https://github.com/rohieb/StratumsphereTrayIcon - * Copyright (C) 2012 Roland Hieber <rohieb@rohieb.name> - * Licensed under the GNU General Public License, version 3 - */ +// SPDX-FileCopyrightText: 2012 Roland Hieber <rohieb@rohieb.name> +// SPDX-FileCopyrightText: 2021 Nheko Contributors +// +// SPDX-License-Identifier: GPL-3.0-or-later + void NotificationsManager::postNotification(const mtx::responses::Notification ¬ification, const QImage &icon) @@ -174,7 +173,7 @@ NotificationsManager::notificationClosed(uint id, uint reason) * http://www.clementine-player.org) and licensed under the GNU General Public * License, version 3 or later. * - * Copyright 2010, David Sansome <me@davidsansome.com> + * SPDX-FileCopyrightText: 2010 David Sansome <me@davidsansome.com> */ QDBusArgument & operator<<(QDBusArgument &arg, const QImage &image) diff --git a/src/notifications/ManagerWin.cpp b/src/notifications/ManagerWin.cpp index 85abe642..3152d84f 100644 --- a/src/notifications/ManagerWin.cpp +++ b/src/notifications/ManagerWin.cpp @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 Nheko Contributors +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "notifications/Manager.h" #include "wintoastlib.h" |