# HG changeset patch # User Chris Cannam # Date 1545211907 0 # Node ID fffb78793ca73ec8f6f46fa77fcfc82c0ce43041 # Parent f54722b34c3a43bed9e117cddcd30b8c8d7a26d9 Fix overlooked int -> ZoomLevel update (thanks bluemoon) diff -r f54722b34c3a -r fffb78793ca7 framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Wed Dec 19 09:29:05 2018 +0000 +++ b/framework/MainWindowBase.cpp Wed Dec 19 09:31:47 2018 +0000 @@ -277,8 +277,8 @@ connect(m_viewManager, SIGNAL(viewCentreFrameChanged(View *, sv_frame_t)), this, SLOT(viewCentreFrameChanged(View *, sv_frame_t))); - connect(m_viewManager, SIGNAL(viewZoomLevelChanged(View *, int, bool)), - this, SLOT(viewZoomLevelChanged(View *, int, bool))); + connect(m_viewManager, SIGNAL(viewZoomLevelChanged(View *, ZoomLevel, bool)), + this, SLOT(viewZoomLevelChanged(View *, ZoomLevel, bool))); connect(Preferences::getInstance(), SIGNAL(propertyChanged(PropertyContainer::PropertyName)),