summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2023-05-14 16:50:15 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2023-05-17 13:43:32 +0000
commit5abb1959c5883ddd74c0ddbba477a4e22881b2a8 (patch)
tree0078e0cde074aa99e59df258444cc4924094e157 /src/plugins/python/pythonutils.cpp
parent23b0082b20272847f9d764f05c7495b15e5e941e (diff)
downloadqt-creator-5abb1959c5883ddd74c0ddbba477a4e22881b2a8.tar.gz
ScopedTimer: Make it possible to provide optional message string
When optional message argument is provided, both macros print the message instead of __FILE__ and __LINE__ info. It helps to ease the identification of the exact place in code when many macros are added - custom message may be more informative that the file and line location. Change-Id: I7a3ccbdaca2858b44dcbd51a8f9330160dab73e9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions