Commit 5d3face3 authored by Fabian Vogt's avatar Fabian Vogt

Fix use of QRegularExpressionMatch

isValid is always true in this case, leading to the wrong error message being

Test Plan:
Opened the wizard, now it shows the correct error if a binary was
not found.

Reviewers: #plasma, ivan

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 7da22165
......@@ -202,7 +202,7 @@ QFuture<QPair<bool, QString>> FuseBackend::checkVersion(
const auto matches = versionMatcher.match(all);
if (!matches.isValid()) {
if (!matches.hasMatch()) {
return qMakePair(
i18n("Unable to detect the version"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment