Option to allow auto save while playing (#3088)

* Option to allow auto save while playing
This commit is contained in:
Oskar Wallgren
2017-02-01 17:05:32 +01:00
committed by GitHub
parent 3e21e4ee13
commit c54171ba48
4 changed files with 68 additions and 39 deletions

View File

@@ -29,6 +29,7 @@
#include <QDialog>
#include <QtCore/QMap>
#include "LedCheckbox.h"
#include "lmmsconfig.h"
#include "AudioDevice.h"
#include "MidiClient.h"
@@ -84,7 +85,7 @@ private slots:
// performance settings widget
void setAutoSaveInterval( int time );
void resetAutoSaveInterval();
void resetAutoSave();
void displaySaveIntervalHelp();
// audio settings widget
@@ -116,6 +117,7 @@ private slots:
void toggleSmoothScroll( bool _enabled );
void toggleAutoSave( bool _enabled );
void toggleRunningAutoSave( bool _enabled );
void toggleOneInstrumentTrackWindow( bool _enabled );
void toggleCompactTrackButtons( bool _enabled );
void toggleSyncVSTPlugins( bool _enabled );
@@ -174,10 +176,13 @@ private:
QString m_backgroundArtwork;
bool m_smoothScroll;
bool m_enableAutoSave;
bool m_disableAutoSave;
bool m_disableRunningAutoSave;
int m_saveInterval;
QSlider * m_saveIntervalSlider;
QLabel * m_saveIntervalLbl;
LedCheckBox * m_autoSave;
LedCheckBox * m_runningAutoSave;
bool m_oneInstrumentTrackWindow;
bool m_compactTrackButtons;