# HG changeset patch # User Chris Cannam # Date 1481555932 0 # Node ID b0138a0fbace270f22b5c81a48531435f8196d5c # Parent f724d092be7ba13e999eb8aa9020ef813296f7cd Some hackery toward having a zoomlevel type diff -r f724d092be7b -r b0138a0fbace .hgsubstate --- 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 diff -r f724d092be7b -r b0138a0fbace main/main.cpp --- 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"); + qRegisterMetaType("ZoomLevel"); MainWindow::SoundOptions options = MainWindow::WithEverything; if (!audioOutput) options = 0;