From a6f0d2ea7d8eb359e7d9ca7b5aac91ffe9d140ec Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 5 Mar 2021 00:35:15 +0100 Subject: Update license headers --- src/notifications/Manager.h | 4 ++++ src/notifications/ManagerLinux.cpp | 13 ++++++------- src/notifications/ManagerWin.cpp | 4 ++++ 3 files changed, 14 insertions(+), 7 deletions(-) (limited to 'src/notifications') 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 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 - * Licensed under the GNU General Public License, version 3 - */ +// SPDX-FileCopyrightText: 2012 Roland Hieber +// 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 + * SPDX-FileCopyrightText: 2010 David Sansome */ 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" -- cgit 1.4.1