1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

WebPage: Remove now unused scheduleAdjustPage

This commit is contained in:
David Rosca 2017-02-06 20:44:13 +01:00
parent 6b39dc9cf0
commit 5f0f520a45
2 changed files with 0 additions and 15 deletions

View File

@ -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;

View File

@ -65,7 +65,6 @@ public:
bool hasMultipleUsernames() const;
QVector<PasswordEntry> autoFillData() const;
void scheduleAdjustPage();
bool isRunningLoop();
bool isLoading() const;