diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2023-04-19 12:48:20 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2023-04-25 10:39:05 -0700 |
| commit | 258cf0ff289edb7960cf78b35417fa9c5fa4ecf7 (patch) | |
| tree | 61ed8dc71b021ff1af5490b628d67add7c2fe4fe /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | ce9413e5494b7025a2f73f54f7438a756fcecf82 (diff) | |
DolphinQt: assume QT_VERSION_CHECK >= 6.0.0
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index 41b406536b..80a4cdd7f4 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -212,11 +212,7 @@ void MemoryViewWidget::UpdateFont() // BoundingRect is too unpredictable, a custom one would be needed for each view type. Different // fonts have wildly different spacing between two characters and horizontalAdvance includes // spacing. -#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0) m_font_width = fm.horizontalAdvance(QLatin1Char('0')); -#else - m_font_width = fm.width(QLatin1Char('0')); -#endif m_table->setFont(Settings::Instance().GetDebugFont()); CreateTable(); |
