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:
parent
1882983190
commit
24c1e12bef
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue