mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
moved "#endif" to always close process and adjusted qInfo-Text
This commit is contained in:
@@ -2401,11 +2401,12 @@ void QETDiagramEditor::generateTerminalBlock()
|
|||||||
success = process->startDetached(exe, {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
success = process->startDetached(exe, {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
process->close();
|
|
||||||
qInfo() << "Did not find binary of \"qet_tb_generator\"";
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
else {
|
||||||
|
process->close();
|
||||||
|
qInfo() << "No project loaded - no need to start \"qet_tb_generator\"";
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
|
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
|
||||||
QString message=QObject::tr(
|
QString message=QObject::tr(
|
||||||
|
|||||||
Reference in New Issue
Block a user