mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Get rid of QtSVG dependency
This commit is contained in:
parent
a24dc147ab
commit
93a84655b6
8 changed files with 6 additions and 53 deletions
|
@ -1349,9 +1349,9 @@ void MainWindow::checkForActiveTorrents()
|
|||
|
||||
QIcon MainWindow::getSystrayIcon() const
|
||||
{
|
||||
#if defined(Q_WS_X11) && defined(QT_SVG_LIB)
|
||||
#if defined(Q_WS_X11)
|
||||
if(Preferences().useMonochromeTrayIcon()) {
|
||||
return QIcon(":/Icons/skin/qbittorrent_mono.svg");
|
||||
return QIcon(":/Icons/skin/qbittorrent_mono_dark.png");
|
||||
}
|
||||
#endif
|
||||
QIcon icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue