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; _settingLocalContentCanAccessRemoteUrls;
_attributes[QWebSettings::LocalContentCanAccessFileUrls] = _attributes[QWebSettings::LocalContentCanAccessFileUrls] =
_settingLocalContentCanAccessFileUrls; _settingLocalContentCanAccessFileUrls;
_attributes[QWebSettings::XSSAuditingEnabled] = // not in qt 4.7.0 (mac)
_settingXSSAuditingEnabled; // _attributes[QWebSettings::XSSAuditingEnabled] =
// _settingXSSAuditingEnabled;
_attributes[QWebSettings::AcceleratedCompositingEnabled] = _attributes[QWebSettings::AcceleratedCompositingEnabled] =
_settingAcceleratedCompositingEnabled; _settingAcceleratedCompositingEnabled;
_attributes[QWebSettings::TiledBackingStoreEnabled] = _attributes[QWebSettings::TiledBackingStoreEnabled] =
_settingTiledBackingStoreEnabled; _settingTiledBackingStoreEnabled;
_attributes[QWebSettings::FrameFlatteningEnabled] = _attributes[QWebSettings::FrameFlatteningEnabled] =
_settingFrameFlatteningEnabled; _settingFrameFlatteningEnabled;
_attributes[QWebSettings::SiteSpecificQuirksEnabled] = // not in qt 4.7.0 (mac)
_settingSiteSpecificQuirksEnabled; // _attributes[QWebSettings::SiteSpecificQuirksEnabled] =
// _settingSiteSpecificQuirksEnabled;
// CheckBoxes // CheckBoxes
_checkboxes["SaveWindowState"] = _checkboxes["SaveWindowState"] =

Loading…
Cancel
Save