This fixes the issue that changing the zoom-level in the settings
does not update the zoom-slider in the statusbar.
void DolphinView::readSettings()
{
+ const int oldZoomLevel = m_container->zoomLevel();
+
GeneralSettings::self()->readConfig();
m_container->readSettings();
applyViewProperties();
+
+ const int newZoomLevel = m_container->zoomLevel();
+ if (newZoomLevel != oldZoomLevel) {
+ emit zoomLevelChanged(newZoomLevel, oldZoomLevel);
+ }
}
void DolphinView::writeSettings()