mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-10-26 00:36:07 +02:00
Fix platform dependency
This commit is contained in:
@@ -906,8 +906,13 @@ void SysTrayX::slotNewMessageFromsChange()
|
||||
m_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||
}
|
||||
|
||||
#if defined( Q_OS_UNIX ) && defined( KDE_INTEGRATION )
|
||||
|
||||
if( m_kde_tray_icon != nullptr )
|
||||
{
|
||||
m_kde_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user