Check that perl is installed before attempting to start cantata-dynamic in local mode.
BUG: 240
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
6e2ae6654b
commit
a31d9e84f9
@@ -283,6 +283,11 @@ void Dynamic::start(const QString &name)
|
||||
return;
|
||||
}
|
||||
|
||||
if (Utils::findExe("perl").isEmpty()) {
|
||||
emit error(i18n("You need to install \"perl\" on your system in order for Cantata's dynamic mode to function."));
|
||||
return;
|
||||
}
|
||||
|
||||
QString fName(Utils::configDir(constDir, false)+name+constExtension);
|
||||
|
||||
if (!QFile::exists(fName)) {
|
||||
|
||||
Reference in New Issue
Block a user