add DKS system variable check.

This commit is contained in:
suter_a 2020-07-12 11:35:50 +02:00
parent 5c7f28aad2
commit 8dc52a269b

View File

@ -797,6 +797,11 @@ PAdmin::PAdmin() : QObject()
msg += "> MUSRFITPATH\n"; msg += "> MUSRFITPATH\n";
sysVarMissing = true; sysVarMissing = true;
} }
path = procEnv.value("DKS", "");
if (path.isEmpty()) {
msg += "> DKS\n";
sysVarMissing = true;
}
if (sysVarMissing) { if (sysVarMissing) {
msg += "Please set this/these system variables."; msg += "Please set this/these system variables.";
QMessageBox::warning(0, "WARNING", msg); QMessageBox::warning(0, "WARNING", msg);