Move download notification icon to icons/other directory

remotes/origin/falkon
David Rosca 9 years ago
parent 64843f869f
commit 5c435fe638
  1. 2
      src/lib/data/icons.qrc
  2. 0
      src/lib/data/icons/other/download.svg
  3. 2
      src/lib/downloads/downloadmanager.cpp

@ -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…
Cancel
Save