mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-01-23 07:32:03 +01: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