Fix "disable autoquit" option

Wasn't getting saved/loaded properly, fixed that
TODO: disable autoquit causes some effects to keep running even when the song is stopped... this should be addressed at some point
This commit is contained in:
Vesa
2014-07-27 01:10:34 +03:00
parent 07a0f46c82
commit f2d88d1fc2
4 changed files with 8 additions and 17 deletions

View File

@@ -163,16 +163,6 @@ 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,
@@ -219,8 +209,6 @@ private:
QString m_backgroundArtwork;
QStringList m_recentlyOpenedProjects;
bool m_isAutoquitDisabled;
typedef QVector<QPair<QString, QString> > stringPairVector;
typedef QMap<QString, stringPairVector> settingsMap;
settingsMap m_settings;

View File

@@ -161,6 +161,7 @@ private:
bool m_animateAFP;
bool m_printNoteLabels;
bool m_displayWaveform;
bool m_disableAutoQuit;
typedef QMap<QString, AudioDevice::setupWidget *> AswMap;
typedef QMap<QString, MidiClient::setupWidget *> MswMap;