aboutsummaryrefslogtreecommitdiff
path: root/qmpsettingswindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-02-28 20:53:12 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-02-28 20:53:12 +0800
commit3270ec6072b333c548587621b141ee283beecc29 (patch)
treecfed0be8beee5cda7c16fc81f5290035ff20ca0d /qmpsettingswindow.cpp
parent60f306607ead64f329a4c1f875af3b7ff5ad1149 (diff)
downloadQMidiPlayer-3270ec6072b333c548587621b141ee283beecc29.tar.xz
Pristine Beat.
Diffstat (limited to 'qmpsettingswindow.cpp')
-rw-r--r--qmpsettingswindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmpsettingswindow.cpp b/qmpsettingswindow.cpp
index b1f620c..c2e31a2 100644
--- a/qmpsettingswindow.cpp
+++ b/qmpsettingswindow.cpp
@@ -63,6 +63,9 @@ void qmpSettingsWindow::settingsInit()
settings->setValue("Midi/SendSysEx",settings->value("Midi/SendSysEx",1));
ui->cbSendSysx->setChecked(settings->value("Midi/SendSysEx",1).toInt());
+ settings->setValue("Midi/WaitVoice",settings->value("Midi/WaitVoice",1));
+ ui->cbWaitVoice->setChecked(settings->value("Midi/WaitVoice",1).toInt());
+
int selected=-1;
for(int i=0;i<ui->cbEncoding->count();++i)
if(ui->cbEncoding->itemText(i)==settings->value("Midi/TextEncoding","Unicode").toString())
@@ -171,6 +174,8 @@ void qmpSettingsWindow::settingsUpdate()
settings->setValue("Midi/SendSysEx",ui->cbSendSysx->isChecked()?1:0);
+ settings->setValue("Midi/WaitVoice",ui->cbWaitVoice->isChecked()?1:0);
+
settings->setValue("Midi/TextEncoding",ui->cbEncoding->currentText());
settings->setValue("Audio/Driver",ui->cbAudioDrv->currentText());