Commit a869f64a authored by Laurent Montel's avatar Laurent Montel 😁

Fix default value

parent c78b7b41
......@@ -27,7 +27,7 @@ class WebEngineViewer::WebEngineViewPrivate
{
public:
WebEngineViewPrivate()
: mSavedRelativePosition(0),
: mSavedRelativePosition(-1),
mCurrentWidget(Q_NULLPTR)
{
......@@ -165,7 +165,7 @@ void WebEngineView::slotLoadFinished()
void WebEngineView::clearRelativePosition()
{
d->mSavedRelativePosition = 0;
d->mSavedRelativePosition = -1;
}
void WebEngineView::saveRelativePosition()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment