Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/application-tray/application-tray.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/dsg/built-in-icons">
<qresource prefix="/dsg-icon/override">
<file alias="fcitx-anthy.dci">icons/fcitx-anthy.dci</file>
<file alias="fcitx-bopomofo.dci">icons/fcitx-bopomofo.dci</file>
<file alias="fcitx-cangjie.dci">icons/fcitx-cangjie.dci</file>
Expand Down
5 changes: 5 additions & 0 deletions plugins/application-tray/trayplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
#include "util.h"
#include "xembedprotocolhandler.h"
#include "ddeindicatortrayprotocol.h"
#include "pluginproxyinterface.h"

Check warning on line 12 in plugins/application-tray/trayplugin.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "pluginproxyinterface.h" not found.

#include <DIconTheme>

Check warning on line 14 in plugins/application-tray/trayplugin.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DIconTheme> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QDebug>

Check warning on line 15 in plugins/application-tray/trayplugin.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results.

namespace tray {
TrayPlugin::TrayPlugin(QObject *parent)
Expand Down Expand Up @@ -47,6 +48,10 @@
{
m_proyInter = proxyInter;

auto dciPaths = Dtk::Gui::DIconTheme::dciThemeSearchPaths();
dciPaths.prepend(":/dsg-icon/override");
Dtk::Gui::DIconTheme::setDciThemeSearchPaths(dciPaths);

auto sniProtocol = new SniTrayProtocol();
auto xembedProtocol = new XembedProtocol();
auto indicatorProtocol = new DDEindicatorProtocol();
Expand Down