qa: Modernize invocation of QProcess in ExecWrapper
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 12 Mar 2021 14:26:56 +0000 (15:26 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 20 Mar 2021 14:55:17 +0000 (15:55 +0100)
commit6c561d2b7b1bb303cfcd8a013179b1838d315910
tree0e64a34f667e7d2cc03788ae04773718faa7c142
parent183d6375f0baf6b5dac1a470f59a748f48dde711
qa: Modernize invocation of QProcess in ExecWrapper

Don't use deprecated API for QProcess in ExecWrapper for starting
a script; arguments should be given as a QStringList instead of
a QString. Modernize and improve the parsing of the command line
by switching to QRegularExpression from QRegExp.

Resolves a deprecation warning that was introduced in Qt 5.15.
src/client/execwrapper.cpp