Commit 277ba819 authored by Leander Schulten's avatar Leander Schulten
Browse files

UX: Show better error message when the loading of the DMX driver fails.

parent 1d1aedb1
Pipeline #188375 passed with stage
in 4 minutes and 52 seconds
......@@ -304,9 +304,9 @@ int main(int argc, char *argv[]) {
// Treiber laden
#define USE_DUMMY_DRIVER
#ifndef USE_DUMMY_DRIVER
if(!Driver::loadAndStartDriver(settings.getDriverFilePath())){
ErrorNotifier::showError("Cant start driver.");
}else {
if (!Driver::loadAndStartDriver(settings.getDriverFilePath())) {
ErrorNotifier::showError(QStringLiteral("Can`t start the DMX driver. The DMX output will not work. You can load a different driver in the Settings tab."));
} else {
Driver::getCurrentDriver()->setWaitTime(std::chrono::milliseconds(40));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment