Fix init icon

This commit is contained in:
Ximi1970
2020-06-01 22:31:46 +02:00
parent d798125b8e
commit 94a9643d9e

View File

@@ -206,10 +206,17 @@ void SysTrayX::showTrayIcon()
{
if( !m_tray_icon )
{
/*
* Create invisible icon
*/
QPixmap lookthrough( 256, 256 );
lookthrough.fill( Qt::transparent );
/*
* Create system tray icon
*/
m_tray_icon = new SysTrayXIcon( m_link, m_preferences );
m_tray_icon->setIcon( QIcon( lookthrough ) );
m_tray_icon->setContextMenu( m_tray_icon_menu );
/*