Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
1410:f724d092be7b | 1412:b0138a0fbace |
---|---|
343 | 343 |
344 // Make known-plugins query as early as possible after showing | 344 // Make known-plugins query as early as possible after showing |
345 // splash screen. | 345 // splash screen. |
346 PluginScan::getInstance()->scan(); | 346 PluginScan::getInstance()->scan(); |
347 | 347 |
348 // Permit size_t and PropertyName to be used as args in queued signal calls | 348 // Permit these types to be used as args in queued signal calls |
349 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); | 349 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); |
350 qRegisterMetaType<ZoomLevel>("ZoomLevel"); | |
350 | 351 |
351 MainWindow::SoundOptions options = MainWindow::WithEverything; | 352 MainWindow::SoundOptions options = MainWindow::WithEverything; |
352 if (!audioOutput) options = 0; | 353 if (!audioOutput) options = 0; |
353 | 354 |
354 MainWindow *gui = new MainWindow(options, oscSupport); | 355 MainWindow *gui = new MainWindow(options, oscSupport); |