mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 00:17:05 +02:00
Different icon init
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user