Minor: add comment

This commit is contained in:
Gerhard Hoffmann 2024-05-14 12:52:09 +02:00
parent afbcccf785
commit a3aef7594e

View File

@ -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