Hi all,

I noticed that the 'more' menu is completely empty if DBus is not enabled (my 
setting for OS X - no idea if it's functional there).  Trivial patch is 
attached.

All the best for 2012,
Cheers,
Albrecht.
Index: src/CMainWindow.cpp
===================================================================
--- src/CMainWindow.cpp (Revision 3146)
+++ src/CMainWindow.cpp (Arbeitskopie)
@@ -610,10 +610,13 @@
     menu->setTitle(tr("&Overlay"));
     menuBar()->addMenu(menu);
 
+#ifdef HAS_DBUS
+    // note: currently, the More menu holds only one entry if DBus is 
enabled...
     menu = new QMenu(this);
     
actionGroupProvider->addActionsToMenu(menu,CMenus::MenuBarMenu,CMenus::MainMoreMenu);
     menu->setTitle(tr("Mor&e"));
     menuBar()->addMenu(menu);
+#endif
 
     menu = new QMenu(this);
     menu->setTitle(tr("&Setup"));
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to