Skip to content

Instantly share code, notes, and snippets.

@reflog
Created March 10, 2011 12:42

Revisions

  1. reflog created this gist Mar 10, 2011.
    5 changes: 5 additions & 0 deletions nifty qt mac stuff.cpp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #ifndef Q_OS_MAC
    setWindowIcon( QIcon(":/windowIcon") );
    #else
    myAction->setMenuRole(QAction::ApplicationSpecificRole);
    #endif