Fix line length
This commit is contained in:
parent
c48339fe06
commit
c996245012
@ -371,7 +371,8 @@ class WebEngineHistory(browsertab.AbstractHistory):
|
|||||||
def serialize(self):
|
def serialize(self):
|
||||||
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-59599
|
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-59599
|
||||||
if self._history.count() == 0:
|
if self._history.count() == 0:
|
||||||
raise browsertab.WebTabError("Can't serialize page without history!")
|
raise browsertab.WebTabError("Can't serialize page without "
|
||||||
|
"history!")
|
||||||
# WORKAROUND for https://github.com/qutebrowser/qutebrowser/issues/2289
|
# WORKAROUND for https://github.com/qutebrowser/qutebrowser/issues/2289
|
||||||
# FIXME:qtwebengine can we get rid of this with Qt 5.8.1?
|
# FIXME:qtwebengine can we get rid of this with Qt 5.8.1?
|
||||||
scheme = self._history.currentItem().url().scheme()
|
scheme = self._history.currentItem().url().scheme()
|
||||||
|
Loading…
Reference in New Issue
Block a user