diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-09-28 14:02:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-28 14:02:56 -0400 |
| commit | 79a98b8235354d4761b89129e472bdec6d5483cb (patch) | |
| tree | aa0eedc318e71c4b0a1d13bc144f6985dbe4b404 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | a93754cb712bafc49dd9cfc285bf5e14d3b49216 (diff) | |
| parent | 49c72efcd3dd4da70cf9f5fb43ba68cd7db76ce1 (diff) | |
Merge pull request #13161 from oltolm/fix_qt6_warnings
dolphinQt: fix Qt6 deprecation warnings
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index f481637c17..0b8ffe1d1e 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -935,7 +935,11 @@ std::vector<u8> MemoryViewWidget::ConvertTextToBytes(Type type, QStringView inpu // Confirm it is only hex bytes const QRegularExpression is_hex(QStringLiteral("^([0-9A-F]{2})*$"), QRegularExpression::CaseInsensitiveOption); +#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) + const QRegularExpressionMatch match = is_hex.matchView(input_text); +#else const QRegularExpressionMatch match = is_hex.match(input_text); +#endif good = match.hasMatch(); if (good) { |
