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.
This commit is contained in:
Joe Ferris 2016-04-25 11:09:23 -04:00
parent 1882983190
commit 24c1e12bef
1 changed files with 4 additions and 0 deletions

View File

@ -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");