From d985112164bd2bfeca0c895abb523d45f0e065bb Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 18 Oct 2017 11:40:51 +0800 Subject: API changes and crash fixes. Details in the changelog. --- qmidiplayer-desktop/qmpsettingswindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qmidiplayer-desktop/qmpsettingswindow.cpp') diff --git a/qmidiplayer-desktop/qmpsettingswindow.cpp b/qmidiplayer-desktop/qmpsettingswindow.cpp index ba460dd..0f5b66a 100644 --- a/qmidiplayer-desktop/qmpsettingswindow.cpp +++ b/qmidiplayer-desktop/qmpsettingswindow.cpp @@ -383,9 +383,9 @@ void qmpSettingsWindow::verifySF() if(((QCheckBox*)ui->twSoundfont->cellWidget(i,0))->isChecked())++sf; if(settings->value("Midi/DefaultOutput","Internal FluidSynth").toString()=="Internal FluidSynth"&&!sf) { - // blmark: show dialog at the current screen which user using now. - int curMonitor = QApplication::desktop()->screenNumber(this); - if(QMessageBox::question(QDesktopWidget().screen(curMonitor),//this, + // blmark: show dialog at the current screen which user using now. + int curMonitor = QApplication::desktop()->screenNumber(this); + if(QMessageBox::question(QDesktopWidget().screen(curMonitor),//this, tr("No soundfont loaded"), tr("Internal fluidsynth was chosen as the default output but it has no soundfont set. " "Would you like to setup soundfonts now? After that you may have to reload the internal synth."))==QMessageBox::Yes) -- cgit v1.2.3