From 84492b7399444c6ca71dbc4d87b13e513c9e2011 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 24 Apr 2022 20:39:13 +0200 Subject: [PATCH] SVG icon theme: use raster pixmap in tree views on Windows as workaround Apply Windows workaround for icon sizes for the "file type" icon if color-coding files is off, too. Part of the fix of #3335. --- src/mkvtoolnix-gui/merge/source_file_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkvtoolnix-gui/merge/source_file_model.cpp b/src/mkvtoolnix-gui/merge/source_file_model.cpp index 43ec6fca6..a336ec269 100644 --- a/src/mkvtoolnix-gui/merge/source_file_model.cpp +++ b/src/mkvtoolnix-gui/merge/source_file_model.cpp @@ -34,7 +34,7 @@ createSourceIndicatorIcon(SourceFile &sourceFile) { auto icon = QIcon::fromTheme(iconName); if (!Util::Settings::get().m_mergeUseFileAndTrackColors) - return icon; + return Util::fixStandardItemIcon(icon); auto color = Util::Settings::get().nthFileColor(sourceFile.m_colorIndex);