diff options
author | hjk <[email protected]> | 2024-05-23 09:37:34 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2024-05-23 13:04:22 +0000 |
commit | f30d369b99831bc7934c00c9c6ecbcb9680e1cee (patch) | |
tree | 7901dd6753115d735565c829b067dfd36fbe478c /src/plugins/debugger/debuggerkitaspect.cpp | |
parent | af3ab760ad4cfc81c264291db1dda5e0da037599 (diff) |
Fix QMetaType::type() related deprecation warnings
Not in sdktool, which still builds with Qt 5.15
Change-Id: I6e6f4331127b821e471e2840e7959cd65e6419e9
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerkitaspect.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerkitaspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerkitaspect.cpp b/src/plugins/debugger/debuggerkitaspect.cpp index 02f21c582a2..d7952f69cc3 100644 --- a/src/plugins/debugger/debuggerkitaspect.cpp +++ b/src/plugins/debugger/debuggerkitaspect.cpp @@ -329,7 +329,7 @@ public: } if (!item.detectionSource().isEmpty() && item.detectionSource() == k->autoDetectionSource()) level = DebuggerItem::MatchLevel(level + 2); - } else if (rawId.type() == QVariant::String) { + } else if (rawId.typeId() == QMetaType::QString) { // New structure. if (item.id() == rawId) { // Detected by ID. |