added a feature which brings up a error message box, if there was any issue with the msr-file when starting musrview from musredit.

This commit is contained in:
2025-06-29 09:04:45 +02:00
parent 4da145d674
commit b692b78cac
9 changed files with 451 additions and 138 deletions

View File

@@ -2620,6 +2620,9 @@ void PTextEdit::musrView()
if (fAdmin->getMusrviewShowOneToOneFlag())
arg << "-1";
// add error message box option
arg << "-s";
QProcess proc;
// make sure that the system environment variables are properly set
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();