Mercurial > hg > tony
comparison 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 |
comparison
equal
deleted
inserted
replaced
258:2042fec57e0b | 259:fa329ca6d75e |
---|---|
19 #include "system/Init.h" | 19 #include "system/Init.h" |
20 #include "base/TempDirectory.h" | 20 #include "base/TempDirectory.h" |
21 #include "base/PropertyContainer.h" | 21 #include "base/PropertyContainer.h" |
22 #include "base/Preferences.h" | 22 #include "base/Preferences.h" |
23 #include "widgets/TipDialog.h" | 23 #include "widgets/TipDialog.h" |
24 #include "widgets/InteractiveFileFinder.h" | |
24 #include "transform/TransformFactory.h" | 25 #include "transform/TransformFactory.h" |
25 | 26 |
26 #include <QMetaType> | 27 #include <QMetaType> |
27 #include <QApplication> | 28 #include <QApplication> |
28 #include <QDesktopWidget> | 29 #include <QDesktopWidget> |
158 if (args.contains("--no-audio")) audioOutput = false; | 159 if (args.contains("--no-audio")) audioOutput = false; |
159 | 160 |
160 QApplication::setOrganizationName("QMUL"); | 161 QApplication::setOrganizationName("QMUL"); |
161 QApplication::setOrganizationDomain("qmul.ac.uk"); | 162 QApplication::setOrganizationDomain("qmul.ac.uk"); |
162 QApplication::setApplicationName("Tony"); | 163 QApplication::setApplicationName("Tony"); |
164 | |
165 InteractiveFileFinder::getInstance()->setApplicationSessionExtension("ton"); | |
163 | 166 |
164 QSplashScreen *splash = 0; | 167 QSplashScreen *splash = 0; |
165 // If we had a splash screen, we would show it here | 168 // If we had a splash screen, we would show it here |
166 | 169 |
167 QIcon icon; | 170 QIcon icon; |