aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/commonoptionspage.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-06-10 08:10:59 +0200
committerhjk <hjk@qt.io>2020-06-10 07:07:23 +0000
commitafde217f284cd9619be74d95ca2a34bcceb5d5f4 (patch)
tree76831054d6c7c325153a7dbf7c9375cd1b3ef0b2 /src/plugins/debugger/commonoptionspage.cpp
parentae0d913e2f81c4f46b9715e0e8dc287420ee8b48 (diff)
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>
Diffstat (limited to 'src/plugins/debugger/commonoptionspage.cpp')
-rw-r--r--src/plugins/debugger/commonoptionspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp
index 24138b192cd..fc0f22e1a47 100644
--- a/src/plugins/debugger/commonoptionspage.cpp
+++ b/src/plugins/debugger/commonoptionspage.cpp
@@ -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());
}