1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

use bigger icons for the thumb bar buttons, to reduce pixel artefacts on high dpi

This commit is contained in:
Patrick von Reth
2014-08-21 12:10:25 +02:00
parent f8511152e3
commit cca0ae038d

View File

@@ -632,7 +632,7 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
static QMap<TomahawkUtils::ImageType,HICON> 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 )