From 258cf0ff289edb7960cf78b35417fa9c5fa4ecf7 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 19 Apr 2023 12:48:20 -0700 Subject: DolphinQt: assume QT_VERSION_CHECK >= 6.0.0 --- Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp') 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(); -- cgit v1.2.3