diff src/main.cpp @ 259:fa329ca6d75e

Make session file extension parameterisable, use .ton for Tony
author Chris Cannam
date Wed, 02 Apr 2014 18:22:41 +0100
parents 86bc160075c7
children 56109ef020b4 ffd1a89a68fa
line wrap: on
line diff
--- a/src/main.cpp	Wed Apr 02 12:26:28 2014 +0100
+++ b/src/main.cpp	Wed Apr 02 18:22:41 2014 +0100
@@ -21,6 +21,7 @@
 #include "base/PropertyContainer.h"
 #include "base/Preferences.h"
 #include "widgets/TipDialog.h"
+#include "widgets/InteractiveFileFinder.h"
 #include "transform/TransformFactory.h"
 
 #include <QMetaType>
@@ -161,6 +162,8 @@
     QApplication::setOrganizationDomain("qmul.ac.uk");
     QApplication::setApplicationName("Tony");
 
+    InteractiveFileFinder::getInstance()->setApplicationSessionExtension("ton");
+
     QSplashScreen *splash = 0;
     // If we had a splash screen, we would show it here