summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebugger.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-04-23 16:03:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-24 14:39:21 +0200
commit13c486bfc75b8a434981f756d518d3fbfebe7298 (patch)
treeb62e8de23544a47537b11009a0c3f625cf4ac08f /src/scripttools/debugging/qscriptdebugger.cpp
parent8b65d84145f0f415d0963caa7b49da07ac67148d (diff)
downloadqtscript-13c486bfc75b8a434981f756d518d3fbfebe7298.tar.gz
Don't use the QRegExp methods that modify the object
QRegExp matching methods modify the object, which we don't want to. In particular, when we receive a QRegExp from the user or we store in a context that might require thread-safety, make sure we make a copy before using it. QRegularExpression has no such shortcoming. Task-number: QTBUG-25064 Change-Id: I4f57d8df2e4de13aa95bb72da53c2565b38ae616 Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebugger.cpp')
0 files changed, 0 insertions, 0 deletions