From 02dcfb2763e75be85087262ba4b9cf4d35f472ee Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 14 Dec 2010 19:34:19 +0000 Subject: [PATCH] Improve icon theme integration --- src/Icons/oxygen/document-edit.png | Bin 0 -> 1700 bytes src/Icons/skin/new.png | Bin 2242 -> 0 bytes src/icons.qrc | 2 +- src/mainwindow.cpp | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/Icons/oxygen/document-edit.png delete mode 100644 src/Icons/skin/new.png diff --git a/src/Icons/oxygen/document-edit.png b/src/Icons/oxygen/document-edit.png new file mode 100644 index 0000000000000000000000000000000000000000..c5883acbd24c8dd04e44b77a86b8e303cc622b08 GIT binary patch literal 1700 zcmV;V23z@wP)Px#32;bRa{vGh*8l(w*8xH(n|J^K00(qQO+^RT3lSF&2d!BNkN^Mx24YJ`L;(K) z{{a7>y{D4^00tyUL_t(|+P#(wY!mk#$3J&Izn#R7ggn3@kWPXjx`(PsjCEoabdX{^k z#Ic?D72lojZq5lyaV}s5P5nwg-AR`G`TT#s-<>V-3FYd;4{yt4GMlPfTmPhIvp-(i z-8~F2Q(ytm3<&%m^XfCMl~P*UZC4y(@{Kpz#rpaUmsYP{|Jl>0FU%BJu4&pIWm&;g zm~JAJ?&fBfi@l4{{|JJ7iIKgvguGs&$z;eAjsD@Cy1LIInlgO99L%^Nktv;P& zy*_kZV{~+sE#EF^pI#&CADs{ePW0x#FJZ-(!L3kJrUbTJ4MQjQ@2BuPNBKv;ja}U? zbVDN^kJI*mOxqd(x7$A27tkN=LL0XTl(pLetuOnJL%vS z_I2;L2IOxE=#>R5LRJZR{1VbgCpKq@{l5}9_xH;fhJh}}dFh8L;d%!dUmIEXdSHio z3$6fI1*UtK(SIA%6gU?&dr2&!cKR-*MP(af(+SkPS`j>17u4b+%Pvfcf;&eKxsi`S-z_^ou z3AmF47))L}fY0M(U{GPxp7Uff8T0gOKcC>Sujx3wA>K=E!tM)9o!o>60s*GOZ@&W- zB(j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u7HY#mmBm03C(8DJ;cVV$s!_&j{{^y!{~;iK(cz5PZanUuAl#C^X(@Icons/skin/arrow-right.gif Icons/skin/filterinactive.png Icons/skin/firewalled.png - Icons/skin/new.png Icons/skin/downloading.png Icons/skin/toolbox-divider.gif Icons/skin/stalledUP.png @@ -293,6 +292,7 @@ Icons/oxygen/edit-clear-history.png Icons/oxygen/edit-copy.png Icons/oxygen/folder-documents.png + Icons/oxygen/document-edit.png Icons/oxygen/insert-link.png Icons/oxygen/network-wired.png Icons/oxygen/mail-mark-read.png diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 64364c030..39d858473 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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"));