comparison main/MainWindow.cpp @ 2067:c643094e4709

Use a slightly more compact dialog (esp on Mac)
author Chris Cannam
date Fri, 02 Nov 2018 14:42:48 +0000
parents 8529a60df1b4
children 513d77e93090
comparison
equal deleted inserted replaced
2066:6e9a125ac5f3 2067:c643094e4709
4529 } else if (scanWarning != "") { 4529 } else if (scanWarning != "") {
4530 warning = scanWarning; 4530 warning = scanWarning;
4531 } 4531 }
4532 if (warning != "") { 4532 if (warning != "") {
4533 emit hideSplash(); 4533 emit hideSplash();
4534 QMessageBox::warning(this, tr("Problems loading plugins"), warning); 4534 QMessageBox box;
4535 box.setWindowTitle(tr("Problems loading plugins"));
4536 box.setText(tr("<b>Failed to load plugins</b>"));
4537 box.setInformativeText(warning);
4538 box.setIcon(QMessageBox::Warning);
4539 box.setStandardButtons(QMessageBox::Ok);
4540 box.exec();
4535 } 4541 }
4536 } 4542 }
4537 4543
4538 void 4544 void
4539 MainWindow::midiEventsAvailable() 4545 MainWindow::midiEventsAvailable()