diff src/main.cpp @ 474:7665cc683dd1 2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents 60779173dddf
children fce075d2952f
line wrap: on
line diff
--- a/src/main.cpp	Fri Aug 14 18:16:14 2015 +0100
+++ b/src/main.cpp	Thu Aug 20 14:54:21 2015 +0100
@@ -243,7 +243,10 @@
     qRegisterMetaType<size_t>("size_t");
     qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName");
 
-    MainWindow *gui = new MainWindow(audioOutput, sonification, spectrogram);
+    MainWindow::SoundOptions options = MainWindow::WithEverything;
+    if (!audioOutput) options = 0;
+    
+    MainWindow *gui = new MainWindow(options, sonification, spectrogram);
     application.setMainWindow(gui);
     if (splash) {
         QObject::connect(gui, SIGNAL(hideSplash()), splash, SLOT(hide()));