add option to keep effects running even without input

This commit is contained in:
Hannu Haahti
2014-07-17 16:19:00 +03:00
parent 88c60f5f94
commit 932768dac0
4 changed files with 36 additions and 0 deletions

View File

@@ -163,6 +163,16 @@ public:
return( m_recentlyOpenedProjects );
}
const bool isAutoquitDisabled() const
{
return m_isAutoquitDisabled;
}
void setAutoquitDisabled( bool value )
{
m_isAutoquitDisabled = value;
}
void addRecentlyOpenedProject( const QString & _file );
const QString & value( const QString & _class,
@@ -209,6 +219,7 @@ private:
QString m_backgroundArtwork;
QStringList m_recentlyOpenedProjects;
bool m_isAutoquitDisabled;
typedef QVector<QPair<QString, QString> > stringPairVector;
typedef QMap<QString, stringPairVector> settingsMap;

View File

@@ -110,6 +110,7 @@ private slots:
void toggleAnimateAFP( bool _enabled );
void toggleNoteLabels( bool en );
void toggleDisplayWaveform( bool en );
void toggleDisableAutoquit( bool en );
private: