Don't write zoom to QWebHistory.

If we set the zoom, it seems WebCore sets its own zoom independent of the
QtWebKit zoom, which leads to funny effects.
This commit is contained in:
Florian Bruhin 2015-02-17 07:48:19 +01:00
parent 5b33f6c5fe
commit 238761bd5b

View File

@ -111,10 +111,7 @@ def _serialize_item(i, item, stream):
except (KeyError, TypeError):
stream.writeInt32(0)
## node->m_pageScaleFactor
try:
stream.writeFloat(item.user_data['zoom'])
except (KeyError, TypeError):
stream.writeFloat(1)
stream.writeFloat(1)
## hasStateObject
# Support for HTML5 History
stream.writeBool(False)