From 2a6c9f7f7cdb1aaeded1ae71448059004c7fd319 Mon Sep 17 00:00:00 2001 From: Oliver Beard Date: Mon, 12 Sep 2022 22:24:03 +0000 Subject: [PATCH] runner: Use larger pixmap This avoids a low-quality icon being visible in search results lists. --- src/plugins/krunner-integration/windowsrunnerinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/krunner-integration/windowsrunnerinterface.cpp b/src/plugins/krunner-integration/windowsrunnerinterface.cpp index 68697df5a3..9df2202511 100644 --- a/src/plugins/krunner-integration/windowsrunnerinterface.cpp +++ b/src/plugins/krunner-integration/windowsrunnerinterface.cpp @@ -279,7 +279,7 @@ RemoteMatch WindowsRunner::windowsMatch(const Window *window, const WindowsRunne // When there is no icon name, send a pixmap along instead if (match.iconName.isEmpty()) { - QImage convertedImage = window->icon().pixmap(QSize(16, 16)).toImage().convertToFormat(QImage::Format_RGBA8888); + QImage convertedImage = window->icon().pixmap(QSize(64, 64)).toImage().convertToFormat(QImage::Format_RGBA8888); RemoteImage remoteImage{ convertedImage.width(), convertedImage.height(),