Different icon init

This commit is contained in:
Ximi1970
2020-06-01 22:59:10 +02:00
parent 7e09ddde0a
commit 55ff08db23

View File

@@ -20,8 +20,17 @@
* Constructor
*/
SysTrayXIcon::SysTrayXIcon( SysTrayXLink* link, Preferences* pref, QObject* parent )
: QSystemTrayIcon( QIcon( ":/files/icons/Thunderbird.png" ), parent )
: QSystemTrayIcon( parent )
{
/*
* Set the tray icon
*/
QPixmap lookthrough( 256, 256 );
lookthrough.fill( Qt::transparent );
// QSystemTrayIcon::setIcon( QIcon( ":/files/icons/Thunderbird.png" ) );
QSystemTrayIcon::setIcon( QIcon( lookthrough ) );
/*
* Initialize
*/