diff options
| author | Mai <mai.iam2048@gmail.com> | 2023-04-25 15:23:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-25 15:23:32 -0400 |
| commit | 71a56d9e041a227a911b1ff1b36c5bbb4f905b10 (patch) | |
| tree | 61ed8dc71b021ff1af5490b628d67add7c2fe4fe /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | b9a7f577a54ecb2a0fb1cb91b6a034ee34d8f9dd (diff) | |
| parent | 258cf0ff289edb7960cf78b35417fa9c5fa4ecf7 (diff) | |
Merge pull request #11775 from shuffle2/qtnext2
qt: raise min version to 6
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(); |
