Browse Source

Improve icon theme integration

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
02dcfb2763
  1. BIN
      src/Icons/oxygen/document-edit.png
  2. BIN
      src/Icons/skin/new.png
  3. 2
      src/icons.qrc
  4. 2
      src/mainwindow.cpp

BIN
src/Icons/oxygen/document-edit.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
src/Icons/skin/new.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

2
src/icons.qrc

@ -36,7 +36,6 @@ @@ -36,7 +36,6 @@
<file>Icons/skin/arrow-right.gif</file>
<file>Icons/skin/filterinactive.png</file>
<file>Icons/skin/firewalled.png</file>
<file>Icons/skin/new.png</file>
<file>Icons/skin/downloading.png</file>
<file>Icons/skin/toolbox-divider.gif</file>
<file>Icons/skin/stalledUP.png</file>
@ -293,6 +292,7 @@ @@ -293,6 +292,7 @@
<file>Icons/oxygen/edit-clear-history.png</file>
<file>Icons/oxygen/edit-copy.png</file>
<file>Icons/oxygen/folder-documents.png</file>
<file>Icons/oxygen/document-edit.png</file>
<file>Icons/oxygen/insert-link.png</file>
<file>Icons/oxygen/network-wired.png</file>
<file>Icons/oxygen/mail-mark-read.png</file>

2
src/mainwindow.cpp

@ -107,7 +107,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo @@ -107,7 +107,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
actionSet_download_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/download.png")));
actionSet_global_upload_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/seeding.png")));
actionSet_global_download_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/download.png")));
actionCreate_torrent->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/new.png")));
actionCreate_torrent->setIcon(misc::getIcon("document-edit"));
actionAbout->setIcon(misc::getIcon("help-about"));
actionBugReport->setIcon(misc::getIcon("tools-report-bug"));
actionDecreasePriority->setIcon(misc::getIcon("go-down"));

Loading…
Cancel
Save