[Marble-commits] KDE/kdeedu/marble/src
Sebastian Wiedenroth
wiedi at frubar.net
Sun Nov 7 15:40:50 CET 2010
SVN commit 1193906 by wiedenroth:
Hide icons in menu on OSX
M +1 -0 qtmain.cpp
--- trunk/KDE/kdeedu/marble/src/qtmain.cpp #1193905:1193906
@@ -63,6 +63,7 @@
+ QDir::separator() + "plugins" );
#endif
#ifdef Q_OS_MACX
+ QApplication::instance()->setAttribute(Qt::AA_DontShowIconsInMenus);
qDebug("Adding qt image plugins to plugin search path...");
CFURLRef myBundleRef = CFBundleCopyBundleURL(CFBundleGetMainBundle());
CFStringRef myMacPath = CFURLCopyFileSystemPath(myBundleRef, kCFURLPOSIXPathStyle);
More information about the Marble-commits
mailing list