Browse files

No icons on mac thanks

  • Loading branch information...
1 parent 7befa93 commit ac72faa9f5db0d61e9fb4ade497071b599b6eb2f @mxcl mxcl committed Apr 22, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/unicorn/UnicornApplication.cpp
View
5 lib/unicorn/UnicornApplication.cpp
@@ -23,6 +23,7 @@
#include <ApplicationServices/ApplicationServices.h>
static pascal OSErr appleEventHandler( const AppleEvent*, AppleEvent*, long );
#include <QMainWindow>
+ extern void qt_mac_set_menubar_icons( bool );
#endif
#include "UnicornApplication.h"
@@ -43,6 +44,10 @@ unicorn::Application::Application( int& argc, char** argv ) throw( StubbornUserE
: QApplication( argc, argv ),
m_logoutAtQuit( false )
{
+#ifdef Q_WS_MAC
+ qt_mac_set_menubar_icons( false );
+#endif
+
CoreApplication::init();
#ifdef __APPLE__

0 comments on commit ac72faa

Please sign in to comment.