mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Style fixes in TomahawkWindow.
This commit is contained in:
parent
57a2c9c9ad
commit
191919de24
@ -403,7 +403,9 @@ TomahawkWindow::balanceToolbar()
|
||||
}
|
||||
}
|
||||
|
||||
void TomahawkWindow::toggleLoved()
|
||||
|
||||
void
|
||||
TomahawkWindow::toggleLoved()
|
||||
{
|
||||
if ( !AudioEngine::instance()->currentTrack().isNull() )
|
||||
{
|
||||
@ -414,6 +416,7 @@ void TomahawkWindow::toggleLoved()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkWindow::setupSideBar()
|
||||
{
|
||||
@ -613,6 +616,7 @@ TomahawkWindow::setupWindowsButtons()
|
||||
#endif//QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||
HICON
|
||||
TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
|
||||
@ -625,9 +629,11 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
|
||||
}
|
||||
return thumbIcons[type];
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
QIcon TomahawkWindow::thumbIcon(TomahawkUtils::ImageType type)
|
||||
QIcon
|
||||
TomahawkWindow::thumbIcon(TomahawkUtils::ImageType type)
|
||||
{
|
||||
return TomahawkUtils::defaultPixmap( type , TomahawkUtils::Original, QSize( 40, 40 ) );
|
||||
}
|
||||
@ -871,6 +877,7 @@ TomahawkWindow::winEvent( MSG* msg, long* result )
|
||||
}
|
||||
#endif//defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||
|
||||
|
||||
void
|
||||
TomahawkWindow::audioStateChanged( AudioState newState, AudioState oldState )
|
||||
{
|
||||
@ -1008,6 +1015,7 @@ TomahawkWindow::updateWindowsLoveButton()
|
||||
#endif//defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkWindow::onHistoryBackAvailable( bool avail )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user