From cca0ae038dc7820daa52f335859798a6b2275a84 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Thu, 21 Aug 2014 12:10:25 +0200 Subject: [PATCH] use bigger icons for the thumb bar buttons, to reduce pixel artefacts on high dpi --- src/tomahawk/TomahawkWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tomahawk/TomahawkWindow.cpp b/src/tomahawk/TomahawkWindow.cpp index 2852fd3d8..d220b0c33 100644 --- a/src/tomahawk/TomahawkWindow.cpp +++ b/src/tomahawk/TomahawkWindow.cpp @@ -632,7 +632,7 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type ) static QMap thumbIcons; if ( !thumbIcons.contains( type ) ) { - QPixmap pix ( TomahawkUtils::defaultPixmap(type , TomahawkUtils::Original, QSize( 20, 20 ) ) ); + QPixmap pix ( TomahawkUtils::defaultPixmap(type , TomahawkUtils::Original, QSize( 40, 40 ) ) ); thumbIcons[type] = pix.toWinHICON(); } return thumbIcons[type]; @@ -641,7 +641,7 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type ) QIcon TomahawkWindow::thumbIcon(TomahawkUtils::ImageType type) { - return TomahawkUtils::defaultPixmap( type , TomahawkUtils::Original, QSize( 20, 20 ) ); + return TomahawkUtils::defaultPixmap( type , TomahawkUtils::Original, QSize( 40, 40 ) ); } #endif//QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )