MCPcopy Create free account
hub / github.com/KDE/kdenlive / runConcurrentScript

Method runConcurrentScript

src/pythoninterfaces/abstractpythoninterface.cpp:637–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637void AbstractPythonInterface::runConcurrentScript(const QString &script, QStringList args, bool feedback)
638{
639 if (m_dependencies.keys().isEmpty()) {
640 qWarning() << "No dependencies specified";
641 Q_EMIT setupError(i18n("Installation Issue: Cannot find dependency list for %1", featureName()));
642 return;
643 }
644 if (!checkSetup()) {
645 qWarning() << "setup error for script: " << script;
646 return;
647 }
648 m_scriptJob = QtConcurrent::run(&AbstractPythonInterface::runScript, this, script, args, QString(), true, feedback);
649 m_watcher.setFuture(m_scriptJob);
650}
651
652void AbstractPythonInterface::proposeMaybeUpdate(const QString &dependency, const QString &minVersion)
653{

Callers 5

WhisperDownloadMethod · 0.80
downloadModelMethod · 0.80
whisperAvailableMethod · 0.80
checkSamEnvironementMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected