Skip to content

Commit 04e7b3e

Browse files
author
ThePBone
committed
Fix tray icon on Qt 5.14.1
1 parent ae6ffd3 commit 04e7b3e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ void MainWindow::createTrayIcon()
528528
trayIcon = new QSystemTrayIcon(this);
529529
trayIcon->setToolTip("Viper4Linux");
530530
connect(trayIcon, &QSystemTrayIcon::activated, this, &MainWindow::iconActivated);
531-
trayIcon->setIcon(QIcon(":/icons/viper-new.svg"));
531+
trayIcon->setIcon(QIcon(":/viper.png"));
532532
}
533533

534534
void MainWindow::updateTrayMenu(QMenu* menu){

resources.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
<file>icons/arrow-up.svg</file>
2222
<file>icons/edit-undo-white.svg</file>
2323
<file>icons/edit-undo.svg</file>
24+
<file>viper.png</file>
2425
</qresource>
2526
</RCC>

0 commit comments

Comments
 (0)