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:
parent
5b33f6c5fe
commit
238761bd5b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user