aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.h
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2011-04-16 04:48:54 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2011-04-16 04:48:54 +0000
commit2de868ecabe125c96f7834cede54dc8a3d26d68b (patch)
treede0e34ec284e44ab3ddf37dcf141d8ac8a8ed3d3 /examples/GuiClient/mainDialog.h
parentb993135bf4a7a4de303f67defd26a78eee9d6a6e (diff)
downloadqxmpp-2de868ecabe125c96f7834cede54dc8a3d26d68b.tar.gz
don't use system tray icon when not available
Diffstat (limited to 'examples/GuiClient/mainDialog.h')
-rw-r--r--examples/GuiClient/mainDialog.h3
1 files changed, 3 insertions, 0 deletions
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<QString, chatDialog*> m_chatDlgsList;
+#ifndef QT_NO_SYSTEMTRAYICON
QSystemTrayIcon m_trayIcon;
QMenu m_trayIconMenu;
+#endif
+
QAction m_quitAction;
QAction m_signOutAction;