From: Flavio Date: Sun, 10 Jun 2012 14:12:13 +0000 (+0200) Subject: Disable alien widgets on the Mac X-Git-Tag: 1.8~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3d320cf9bd0dec3c83833ade84b59c48b5ebc2e;p=minitube Disable alien widgets on the Mac --- 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()));