mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 12:47:45 +02:00
Don't use native windows for each widget. This is insane. Thanks Domme for figuring this out.
This commit is contained in:
@@ -171,10 +171,6 @@ main( int argc, char *argv[] )
|
|||||||
// This must go before QApplication initialisation.
|
// This must go before QApplication initialisation.
|
||||||
Tomahawk::macMain();
|
Tomahawk::macMain();
|
||||||
|
|
||||||
// Fixes focus issue with NSSearchField, see QTBUG-11401
|
|
||||||
// code taken from clementine:main.cpp:336
|
|
||||||
QCoreApplication::setAttribute( Qt::AA_NativeWindows, true );
|
|
||||||
|
|
||||||
// used for url handler
|
// used for url handler
|
||||||
AEEventHandlerUPP h = AEEventHandlerUPP( appleEventHandler );
|
AEEventHandlerUPP h = AEEventHandlerUPP( appleEventHandler );
|
||||||
AEInstallEventHandler( 'GURL', 'GURL', h, 0, false );
|
AEInstallEventHandler( 'GURL', 'GURL', h, 0, false );
|
||||||
|
Reference in New Issue
Block a user