From f3d320cf9bd0dec3c83833ade84b59c48b5ebc2e Mon Sep 17 00:00:00 2001 From: Flavio Date: Sun, 10 Jun 2012 16:12:13 +0200 Subject: [PATCH] Disable alien widgets on the Mac --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 9b2e176..8d89ba6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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())); -- 2.39.5