QWebView does not render checkbox, and radio button propoerly on
MacOSX. In order to fix it, we need to set 'style' to 'funsion' on MacOSX. Reference: https://bugreports.qt.io/browse/QTBUG-43366pull/3/head
parent
2610eaefbe
commit
b64868079a
|
|
@ -64,6 +64,10 @@ BrowserWindow::BrowserWindow(QString url)
|
|||
QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
m_mainWebView->setStyle(QStyleFactory::create("Fusion"));
|
||||
#endif
|
||||
|
||||
m_tabGridLayout->addWidget(m_mainWebView, 0, 0, 1, 1);
|
||||
m_tabWidget->addTab(m_pgAdminMainTab, QString());
|
||||
m_tabWidget->setCurrentIndex(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue