1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

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

View file

@ -15,6 +15,10 @@ int main(int argc, char **argv) {
} }
#endif #endif
#ifdef Q_OS_MAC
QApplication::setStyle(QStyleFactory::create("Fusion"));
#endif
QApplication app(argc, argv); QApplication app(argc, argv);
app.setApplicationName("capybara-webkit"); app.setApplicationName("capybara-webkit");
app.setOrganizationName("thoughtbot, inc"); app.setOrganizationName("thoughtbot, inc");