diff options
author | hjk <hjk@qt.io> | 2020-06-10 08:10:59 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-06-10 07:07:23 +0000 |
commit | afde217f284cd9619be74d95ca2a34bcceb5d5f4 (patch) | |
tree | 76831054d6c7c325153a7dbf7c9375cd1b3ef0b2 /src/plugins/debugger/debuggeractions.cpp | |
parent | ae0d913e2f81c4f46b9715e0e8dc287420ee8b48 (diff) | |
download | qt-creator-afde217f284cd9619be74d95ca2a34bcceb5d5f4.tar.gz |
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/debuggeractions.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index 9df57cb430..631bb88154 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -87,7 +87,7 @@ void GlobalDebuggerOptions::fromSettings() const QString key = s->value(sourcePathMappingSourceKey).toString(); const QString value = s->value(sourcePathMappingTargetKey).toString(); if (key.startsWith('(')) - sourcePathRegExpMap.append(qMakePair(QRegExp(key), value)); + sourcePathRegExpMap.append(qMakePair(QRegularExpression(key), value)); else sourcePathMap.insert(key, value); } |