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.
This commit is contained in:
1 parent
8c2e924255
commit
51e528e45f
15 files changed
+94
-218
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user