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
|
@ -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 New Issue