From 24c1e12befa4bf8ebfebef546a078039e0fbf875 Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Mon, 25 Apr 2016 11:09:23 -0400 Subject: [PATCH] Use the Fusion Qt Style on OS X This fixes issues with checkboxes and radio buttons not being rendered at the appropriate location on newer version of OS X. --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e38f89e..19021fd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,6 +15,10 @@ int main(int argc, char **argv) { } #endif +#ifdef Q_OS_MAC + QApplication::setStyle(QStyleFactory::create("Fusion")); +#endif + QApplication app(argc, argv); app.setApplicationName("capybara-webkit"); app.setOrganizationName("thoughtbot, inc");