1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

WebTab: Don't need to set zoom when tab is not restored

This commit is contained in:
David Rosca 2016-12-27 19:46:12 +01:00
parent d39e4cc381
commit fe77d7c9ba

View File

@ -336,7 +336,6 @@ void WebTab::restoreTab(const WebTab::SavedTab &tab)
m_tabBar->setTabText(index, tab.title); m_tabBar->setTabText(index, tab.title);
m_locationBar->showUrl(tab.url); m_locationBar->showUrl(tab.url);
m_webView->setZoomLevel(tab.zoomLevel);
m_tabIcon->setIcon(tab.icon); m_tabIcon->setIcon(tab.icon);
if (!tab.url.isEmpty()) { if (!tab.url.isEmpty()) {