mac has qt 4.7.0; refs #49

master
Marc Wäckerlin 14 years ago
parent 2e20b696f4
commit 897ec1d330
  1. 10
      swisssurfer/src/settings.hxx

@ -71,16 +71,18 @@ class Settings: public QDialog, protected Ui::Settings {
_settingLocalContentCanAccessRemoteUrls;
_attributes[QWebSettings::LocalContentCanAccessFileUrls] =
_settingLocalContentCanAccessFileUrls;
_attributes[QWebSettings::XSSAuditingEnabled] =
_settingXSSAuditingEnabled;
// not in qt 4.7.0 (mac)
// _attributes[QWebSettings::XSSAuditingEnabled] =
// _settingXSSAuditingEnabled;
_attributes[QWebSettings::AcceleratedCompositingEnabled] =
_settingAcceleratedCompositingEnabled;
_attributes[QWebSettings::TiledBackingStoreEnabled] =
_settingTiledBackingStoreEnabled;
_attributes[QWebSettings::FrameFlatteningEnabled] =
_settingFrameFlatteningEnabled;
_attributes[QWebSettings::SiteSpecificQuirksEnabled] =
_settingSiteSpecificQuirksEnabled;
// not in qt 4.7.0 (mac)
// _attributes[QWebSettings::SiteSpecificQuirksEnabled] =
// _settingSiteSpecificQuirksEnabled;
// CheckBoxes
_checkboxes["SaveWindowState"] =

Loading…
Cancel
Save