]> git.sur5r.net Git - minitube/commitdiff
Disable alien widgets on the Mac
authorFlavio <flavio@odisseo.local>
Sun, 10 Jun 2012 14:12:13 +0000 (16:12 +0200)
committerFlavio <flavio@odisseo.local>
Sun, 10 Jun 2012 14:12:13 +0000 (16:12 +0200)
src/main.cpp

index 9b2e1762eeb4d8f99494e84848a69ca2e1529c6b..8d89ba63a8ddaa7c52a7a61e173c6b132ba79c51 100644 (file)
@@ -28,6 +28,7 @@ int main(int argc, char **argv) {
 #endif
 
 #ifdef APP_MAC
+    app.setAttribute(Qt::AA_NativeWindows);
     QFile file(":/mac.css");
     file.open(QFile::ReadOnly);
     app.setStyleSheet(QLatin1String(file.readAll()));