mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Move download notification icon to icons/other directory
This commit is contained in:
parent
64843f869f
commit
5c435fe638
@ -24,7 +24,7 @@
|
||||
<file>icons/preferences/applications-graphics.png</file>
|
||||
<file>icons/preferences/document-properties.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/preferences/style-default.png</file>
|
||||
<file>icons/other/adblock-disabled.png</file>
|
||||
|
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 628 B |
@ -330,7 +330,7 @@ void DownloadManager::downloadFinished(bool success)
|
||||
|
||||
if (downloadingAllFilesFinished) {
|
||||
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) {
|
||||
raise();
|
||||
activateWindow();
|
||||
|
Loading…
Reference in New Issue
Block a user