From 2de868ecabe125c96f7834cede54dc8a3d26d68b Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sat, 16 Apr 2011 04:48:54 +0000 Subject: don't use system tray icon when not available --- examples/GuiClient/mainDialog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/GuiClient/mainDialog.h') diff --git a/examples/GuiClient/mainDialog.h b/examples/GuiClient/mainDialog.h index 3a380286..2f0d8f64 100644 --- a/examples/GuiClient/mainDialog.h +++ b/examples/GuiClient/mainDialog.h @@ -121,8 +121,11 @@ private: // map of bare jids and respective chatdlg QMap m_chatDlgsList; +#ifndef QT_NO_SYSTEMTRAYICON QSystemTrayIcon m_trayIcon; QMenu m_trayIconMenu; +#endif + QAction m_quitAction; QAction m_signOutAction; -- cgit v1.2.3