Fix platform dependency

This commit is contained in:
Ximi1970
2024-08-20 22:24:17 +02:00
parent 9443c72548
commit 14df5ca2db

View File

@@ -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
}