From ab5c36409273a5b36188456cd8eb0bb558292621 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Fri, 29 Jan 2021 17:00:44 +0300 Subject: [PATCH] UI: Improve Trash icon. --- src/ui/form/opt/pages/statisticspage.cpp | 2 +- src/ui/form/prog/programswindow.cpp | 2 +- src/ui/fort-icons.qrc | 2 +- src/ui/icons/trash.png | Bin 0 -> 1260 bytes src/ui/icons/trashcan-full.png | Bin 1579 -> 0 bytes 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 src/ui/icons/trash.png delete mode 100644 src/ui/icons/trashcan-full.png diff --git a/src/ui/form/opt/pages/statisticspage.cpp b/src/ui/form/opt/pages/statisticspage.cpp index fb1fde10..a04393ec 100644 --- a/src/ui/form/opt/pages/statisticspage.cpp +++ b/src/ui/form/opt/pages/statisticspage.cpp @@ -340,7 +340,7 @@ void StatisticsPage::setupClearMenu() appStatModel()->clear(); }); - m_btClear = new QPushButton(QIcon(":/icons/trashcan-full.png"), QString()); + m_btClear = new QPushButton(QIcon(":/icons/trash.png"), QString()); m_btClear->setMenu(menu); } diff --git a/src/ui/form/prog/programswindow.cpp b/src/ui/form/prog/programswindow.cpp index ec9feecd..ce0f8261 100644 --- a/src/ui/form/prog/programswindow.cpp +++ b/src/ui/form/prog/programswindow.cpp @@ -346,7 +346,7 @@ QLayout *ProgramsWindow::setupHeader() editMenu->addSeparator(); - m_actPurgeApps = editMenu->addAction(QIcon(":/icons/trashcan-full.png"), QString()); + m_actPurgeApps = editMenu->addAction(QIcon(":/icons/trash.png"), QString()); connect(m_actAllowApp, &QAction::triggered, this, [&] { updateSelectedApps(false); }); connect(m_actBlockApp, &QAction::triggered, this, [&] { updateSelectedApps(true); }); diff --git a/src/ui/fort-icons.qrc b/src/ui/fort-icons.qrc index 9e1c71c3..f7b96454 100644 --- a/src/ui/fort-icons.qrc +++ b/src/ui/fort-icons.qrc @@ -28,7 +28,7 @@ icons/sign-error.png icons/sign-sync.png icons/sign-warning.png - icons/trashcan-full.png + icons/trash.png icons/window.png icons/wrench.png diff --git a/src/ui/icons/trash.png b/src/ui/icons/trash.png new file mode 100644 index 0000000000000000000000000000000000000000..a50cf65a4ec31271b60f385a89187fd68931d295 GIT binary patch literal 1260 zcmXw13rv$&6fOf=Erk|vtQC|;Kpu1Q|CH!>6s5G%PA63f!SU{R$YOvX@-Sn6DWkjv zrZ`XpMRao-Ez}`SvewopDp0Be)F7pSfh%NG3bv)CcR!Y$l}#u4-+udhv5be}4s=`k1^5t|ViTinJ?_i&2+;)7amNE9}fp^>yyiX<%b z;@`I>bYtAs58pCSiOHm93gCE2A@_i(MA{TqkXLp?AEt-Jo zFm;Jvw1n}`ue>SnA8_XS%8g&Je52c(D4n6zTYYsU^ zGpQopTKsS-BqdiD9epy?Yx4uY&$5s1>OJ^uhbV70mt5xU9ceS2rT*CvhKb>ATUQ-E z1Uu|oR~>jvgs<2i<$t&j&|=Scgw`{HvI_7N7Mp>BJWi1{$f z&fiaBrXHqRIdeE%^2Z`l4lA(0YYMr#E2TD(LCnt;}ZZg1~C_jO#(# z9eF7_IRN<4L4+T#g@EyUv6*_!tX+9qS3o)D4$0c}bDXT9LrMPAtRK{@7<~nIlzXY) zo0pnY&&TD2jtC@GzcNoOzy61V>}+Kq*=0G02|It3CS_d*6f+e6)2mr9jpsQ6G<#GZ5QEN-U-J8ov+*L_6?OQ1R8L^k9CzQB>zJ(p9WzGKi z-^7k(7;U$sy--($yr!};l`=3ByDPa+AWnHjNiIDt$y*#P5uk=brcCoA%{*lmDWHEGHV39iYD@M{0ATtuD8Z*_u;T1+Vn<^r(SBJNH41fXN{AvsrAk#z^He Tm7P~EG_T*;%tMUZ^i=+TPtH?H literal 0 HcmV?d00001 diff --git a/src/ui/icons/trashcan-full.png b/src/ui/icons/trashcan-full.png deleted file mode 100644 index d30c0d44908dbf6120335e1e19f02578cdc04da5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmV+`2Gse9P)zN7Y*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