1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Move download notification icon to icons/other directory

This commit is contained in:
David Rosca 2016-12-30 20:23:06 +01:00
parent 64843f869f
commit 5c435fe638
3 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<file>icons/preferences/applications-graphics.png</file> <file>icons/preferences/applications-graphics.png</file>
<file>icons/preferences/document-properties.png</file> <file>icons/preferences/document-properties.png</file>
<file>icons/other/adblock.png</file> <file>icons/other/adblock.png</file>
<file>icons/notifications/download.svg</file> <file>icons/other/download.svg</file>
<file>icons/other/bighistory.png</file> <file>icons/other/bighistory.png</file>
<file>icons/preferences/style-default.png</file> <file>icons/preferences/style-default.png</file>
<file>icons/other/adblock-disabled.png</file> <file>icons/other/adblock-disabled.png</file>

View File

Before

Width:  |  Height:  |  Size: 628 B

After

Width:  |  Height:  |  Size: 628 B

View File

@ -330,7 +330,7 @@ void DownloadManager::downloadFinished(bool success)
if (downloadingAllFilesFinished) { if (downloadingAllFilesFinished) {
if (success && qApp->activeWindow() != this) { if (success && qApp->activeWindow() != this) {
mApp->desktopNotifications()->showNotification(QIcon::fromTheme(QSL("download"), QIcon(":icons/notifications/download.svg")).pixmap(48), tr("Download Finished"), tr("All files have been successfully downloaded.")); mApp->desktopNotifications()->showNotification(QIcon::fromTheme(QSL("download"), QIcon(QSL(":icons/other/download.svg"))).pixmap(48), tr("Download Finished"), tr("All files have been successfully downloaded."));
if (!m_closeOnFinish) { if (!m_closeOnFinish) {
raise(); raise();
activateWindow(); activateWindow();