1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-31 13:48:09 +01:00

Merge pull request #246 from TheOneRing/thumb_size

use bigger icons for the thumb bar buttons, to reduce pixel artefacts on...
This commit is contained in:
Uwe L. Korn 2014-08-21 12:22:59 +02:00
commit d1b723dbbd

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 )