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:
commit
d1b723dbbd
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user