ukui-panel/fix-panel-taskview-icon.patch
2020-07-27 10:04:23 +08:00

14 lines
720 B
Diff

diff -ur ukui-panel-2.0.8/plugin-taskview/taskview.cpp ukui-panel-2.0.8~/plugin-taskview/taskview.cpp
--- ukui-panel-2.0.8/plugin-taskview/taskview.cpp 2020-06-22 15:53:13.000000000 +0800
+++ ukui-panel-2.0.8~/plugin-taskview/taskview.cpp 2020-06-28 14:10:34.000000000 +0800
@@ -44,7 +44,8 @@
{
mButton =new TaskViewButton();
mButton->setStyle(new CustomStyle());
- mButton->setIcon(QIcon::fromTheme("taskview",QIcon("/usr/share/ukui-panel/panel/img/taskview.svg")));
+ //mButton->setIcon(QIcon::fromTheme("taskview",QIcon("/usr/share/ukui-panel/panel/img/taskview.svg")));
+ mButton->setIcon(QIcon::fromTheme("taskview"));
mButton->setToolTip(tr("Show Taskview"));
/* hide/show taskview