Mercurial > hg > tony
comparison src/MainWindow.cpp @ 364:f5a4c4283b93
adding no spectrogram and no sonification options
author | matthiasm |
---|---|
date | Tue, 15 Jul 2014 15:42:21 +0100 |
parents | 3143b069c60a |
children | fec4dafd9093 |
comparison
equal
deleted
inserted
replaced
363:3143b069c60a | 364:f5a4c4283b93 |
---|---|
86 #include <errno.h> | 86 #include <errno.h> |
87 | 87 |
88 using std::vector; | 88 using std::vector; |
89 | 89 |
90 | 90 |
91 MainWindow::MainWindow(bool withAudioOutput) : | 91 MainWindow::MainWindow(bool withAudioOutput, bool withSonification, bool withSpectrogram) : |
92 MainWindowBase(withAudioOutput, false), | 92 MainWindowBase(withAudioOutput, false), |
93 m_overview(0), | 93 m_overview(0), |
94 m_mainMenusCreated(false), | 94 m_mainMenusCreated(false), |
95 m_playbackMenu(0), | 95 m_playbackMenu(0), |
96 m_recentFilesMenu(0), | 96 m_recentFilesMenu(0), |
100 m_ffwdAction(0), | 100 m_ffwdAction(0), |
101 m_rwdAction(0), | 101 m_rwdAction(0), |
102 m_intelligentActionOn(true), //GF: !!! temporary | 102 m_intelligentActionOn(true), //GF: !!! temporary |
103 m_activityLog(new ActivityLog()), | 103 m_activityLog(new ActivityLog()), |
104 m_keyReference(new KeyReference()), | 104 m_keyReference(new KeyReference()), |
105 m_selectionAnchor(0) | 105 m_selectionAnchor(0), |
106 m_withSonification(withSonification), | |
107 m_withSpectrogram(withSpectrogram) | |
106 { | 108 { |
107 setWindowTitle(QApplication::applicationName()); | 109 setWindowTitle(QApplication::applicationName()); |
108 | 110 |
109 #ifdef Q_OS_MAC | 111 #ifdef Q_OS_MAC |
110 #if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) | 112 #if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) |