From 51e528e45ffd744836c4ba69f9f0d1480337d8d4 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 23 Apr 2023 03:43:49 -0700 Subject: DolphinQt: cache icons instead of single pixmaps Fixes dynamically changing dpi scaling. Load resources from svg if possible. Currently svg support is not in Qt build in Externals, and image files need to be added later. --- Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 80a4cdd7f4..9d727fee10 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -583,7 +583,7 @@ void MemoryViewWidget::UpdateBreakpointTags() { m_table->item(i, 0)->setData( Qt::DecorationRole, - Resources::GetScaledThemeIcon("debugger_breakpoint") + Resources::GetThemeIcon("debugger_breakpoint") .pixmap(QSize(m_table->rowHeight(0) - 3, m_table->rowHeight(0) - 3))); } else -- cgit v1.2.3