mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix QRegularExpression
-add isValid -add debug
This commit is contained in:
@@ -253,7 +253,8 @@ void ElementsLocation::setPath(const QString &path)
|
||||
QRegularExpressionMatch match = re.match(tmp_path);
|
||||
if (!match.hasMatch())
|
||||
{
|
||||
qDebug()<<"no Match => return";
|
||||
qDebug()<<"no Match => return"
|
||||
<<tmp_path;
|
||||
return;
|
||||
}
|
||||
bool conv_ok;
|
||||
|
||||
Reference in New Issue
Block a user