Enable Lion-style fullscreen mode for Creator.

Change-Id: Ib44cdd432da7b4609026e211d8c43088d883621a
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Morten Johan Sorvig
2011-12-02 23:12:57 +01:00
committed by Eike Ziller
parent ee6c693ada
commit f27a916024
3 changed files with 54 additions and 1 deletions

View File

@@ -226,6 +226,11 @@ MainWindow::MainWindow() :
//signal(SIGINT, handleSigInt);
#endif
#ifdef Q_WS_MAC
extern void enableMacFullScreen(WId);
enableMacFullScreen(winId());
#endif
statusBar()->setProperty("p_styled", true);
setAcceptDrops(true);
}