changeset 1412:b0138a0fbace zoom

Some hackery toward having a zoomlevel type
author Chris Cannam
date Mon, 12 Dec 2016 15:18:52 +0000
parents f724d092be7b
children 246bdf94ef7b
files .hgsubstate main/main.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Mon Dec 12 09:13:44 2016 +0000
+++ b/.hgsubstate	Mon Dec 12 15:18:52 2016 +0000
@@ -8,6 +8,6 @@
 3257ddb6fff110cc88f3ffeaeefa0f29d5eb3b6f piper-cpp
 5f67a29f0fc7f1b908f7cde4866173a7af337862 sv-dependency-builds
 2683a8ca36ea55b90917713571b9cef6cc049b5f svapp
-4dbb7a7c9c2898c31dac32d5e54cbb92daaf1665 svcore
-6605984fa98f40534b2706555979a16592733850 svgui
+d4a28d1479a8576bbe1d9d4c1f458cfd8e0d08e5 svcore
+57d192e2633160cdf035cf5f7bccd19404d56e41 svgui
 0eebd22a081a824067bf3d5de65326696feab653 vamp-plugin-sdk
--- a/main/main.cpp	Mon Dec 12 09:13:44 2016 +0000
+++ b/main/main.cpp	Mon Dec 12 15:18:52 2016 +0000
@@ -345,8 +345,9 @@
     // splash screen.
     PluginScan::getInstance()->scan();
     
-    // Permit size_t and PropertyName to be used as args in queued signal calls
+    // Permit these types to be used as args in queued signal calls
     qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName");
+    qRegisterMetaType<ZoomLevel>("ZoomLevel");
 
     MainWindow::SoundOptions options = MainWindow::WithEverything;
     if (!audioOutput) options = 0;