mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-11-01 02:45:49 +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 );
|
m_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined( Q_OS_UNIX ) && defined( KDE_INTEGRATION )
|
||||||
|
|
||||||
if( m_kde_tray_icon != nullptr )
|
if( m_kde_tray_icon != nullptr )
|
||||||
{
|
{
|
||||||
m_kde_tray_icon->setContextMenu( m_tray_icon_menu );
|
m_kde_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user