diff --git a/src/utils/utils.cpp b/src/utils/utils.cpp index 0a317315a23f7a42d1511f4cf9e35abd4258e02f..25e82c8b3f8df85fe4cc9e3b1a4f5a0fe937062f 100644 --- a/src/utils/utils.cpp +++ b/src/utils/utils.cpp @@ -263,7 +263,16 @@ Utils::checkXtandemVersion(const QString &tandem_bin_path) { // dir.path() returns the unique directory path throw pappso::PappsoException( - QObject::tr("Please check permissions on !Tandem software found at %1.") + QObject::tr("Please check permissions on X!Tandem software found at %1 " + "(file not readable).") + .arg(tandem_exe.absoluteFilePath())); + } + if(!tandem_exe.isExecutable()) + { + // dir.path() returns the unique directory path + throw pappso::PappsoException( + QObject::tr("Please check permissions on X!Tandem software found at %1 " + "(file not executable).") .arg(tandem_exe.absoluteFilePath())); }