diff --git a/UpdatePTUDevCtrl/worker.cpp b/UpdatePTUDevCtrl/worker.cpp index 8611a0a..ecd1b80 100644 --- a/UpdatePTUDevCtrl/worker.cpp +++ b/UpdatePTUDevCtrl/worker.cpp @@ -869,6 +869,7 @@ bool Worker::execOpkgCommands() { QStringList opkgErrorLst; while (!in.atEnd()) { QString line = in.readLine(); + // TODO: "^\\s*[#]{0,}$" : empty line or comment line starting with # static const QRegularExpression comment("^\\s*#.*$"); if (line.indexOf(comment, 0) == -1) { // found opkg command