diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-04-29 17:32:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-29 17:32:29 +0200 |
| commit | 6e6865a63a60b742a204d61c02742f56b1119bbb (patch) | |
| tree | 8cd56378cd83f8d24a6bb9f07687a3f3716ba078 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | |
| parent | 79607a060c3d6dd65f0adfa6993bff5d65c51077 (diff) | |
| parent | 51e528e45ffd744836c4ba69f9f0d1480337d8d4 (diff) | |
Merge pull request #11785 from shuffle2/qtnext3
DolphinQt: cache icons instead of single pixmaps
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index cd93541736..625a5fabb8 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -379,8 +379,7 @@ void CodeViewWidget::Update(const Core::CPUThreadGuard* guard) if (debug_interface.IsBreakpoint(addr)) { - auto icon = - Resources::GetScaledThemeIcon("debugger_breakpoint").pixmap(QSize(rowh - 2, rowh - 2)); + auto icon = Resources::GetThemeIcon("debugger_breakpoint").pixmap(QSize(rowh - 2, rowh - 2)); if (!m_system.GetPowerPC().GetBreakPoints().IsBreakPointEnable(addr)) { QPixmap disabled_icon(icon.size()); |
