diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2023-04-23 03:43:49 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2023-04-25 12:34:27 -0700 |
| commit | 51e528e45ffd744836c4ba69f9f0d1480337d8d4 (patch) | |
| tree | 2504119fba07258f24f16a266e7c172d45c167f8 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | 8c2e9242555bdcbaa0067658bf8a4a41d6936405 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
