diff framework/MainWindowBase.cpp @ 640:fffb78793ca7

Fix overlooked int -> ZoomLevel update (thanks bluemoon)
author Chris Cannam
date Wed, 19 Dec 2018 09:31:47 +0000
parents f54722b34c3a
children 713b9a6b284a
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)),