diff --git a/src/lib/webengine/webpage.cpp b/src/lib/webengine/webpage.cpp index 2578eb327..c2c100978 100644 --- a/src/lib/webengine/webpage.cpp +++ b/src/lib/webengine/webpage.cpp @@ -166,20 +166,6 @@ void WebPage::setScrollPosition(const QPointF &pos) runJavaScript(QSL("window.scrollTo(%1, %2)").arg(v.x()).arg(v.y()), WebPage::SafeJsWorld); } -void WebPage::scheduleAdjustPage() -{ - if (view()->isLoading()) { - m_adjustingScheduled = true; - } - else { - const QSize originalSize = view()->size(); - QSize newSize(originalSize.width() - 1, originalSize.height() - 1); - - view()->resize(newSize); - view()->resize(originalSize); - } -} - bool WebPage::isRunningLoop() { return m_runningLoop; diff --git a/src/lib/webengine/webpage.h b/src/lib/webengine/webpage.h index 07c93a447..40dbe841c 100644 --- a/src/lib/webengine/webpage.h +++ b/src/lib/webengine/webpage.h @@ -65,7 +65,6 @@ public: bool hasMultipleUsernames() const; QVector autoFillData() const; - void scheduleAdjustPage(); bool isRunningLoop(); bool isLoading() const;