Mercurial > hg > sonic-visualiser
diff main/main.cpp @ 1412:b0138a0fbace zoom
Some hackery toward having a zoomlevel type
author | Chris Cannam |
---|---|
date | Mon, 12 Dec 2016 15:18:52 +0000 |
parents | e93ad534c1cb |
children | 55d9bbf1fe45 |
line wrap: on
line diff
--- 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;