forked from qt-creator/qt-creator
Debugger: Convert a QRegExp use in source path map
Task-number: QTCREATORBUG-24098 Change-Id: I1ee441a60cbf362d38459bcef869e02d7fca9b7e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -236,7 +236,7 @@ void CommonOptionsPageWidget::apply()
|
||||
for (auto it = allPathMap.begin(), end = allPathMap.end(); it != end; ++it) {
|
||||
const QString key = it.key();
|
||||
if (key.startsWith('('))
|
||||
options->sourcePathRegExpMap.append(qMakePair(QRegExp(key), it.value()));
|
||||
options->sourcePathRegExpMap.append(qMakePair(QRegularExpression(key), it.value()));
|
||||
else
|
||||
options->sourcePathMap.insert(key, it.value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user