From 8dc52a269b4549e300dcc0cb77ce850cff286f31 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Sun, 12 Jul 2020 11:35:50 +0200 Subject: [PATCH] add DKS system variable check. --- src/musredit_qt5/musredit/PAdmin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/musredit_qt5/musredit/PAdmin.cpp b/src/musredit_qt5/musredit/PAdmin.cpp index 82b8399e..0d85abe5 100644 --- a/src/musredit_qt5/musredit/PAdmin.cpp +++ b/src/musredit_qt5/musredit/PAdmin.cpp @@ -797,6 +797,11 @@ PAdmin::PAdmin() : QObject() msg += "> MUSRFITPATH\n"; sysVarMissing = true; } + path = procEnv.value("DKS", ""); + if (path.isEmpty()) { + msg += "> DKS\n"; + sysVarMissing = true; + } if (sysVarMissing) { msg += "Please set this/these system variables."; QMessageBox::warning(0, "WARNING", msg);