changeset 640:fffb78793ca7

Fix overlooked int -> ZoomLevel update (thanks bluemoon)
author Chris Cannam
date Wed, 19 Dec 2018 09:31:47 +0000
parents f54722b34c3a
children dfec6c96007d
files framework/MainWindowBase.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)),