mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Style fixes in TomahawkWindow.
This commit is contained in:
@@ -403,7 +403,9 @@ TomahawkWindow::balanceToolbar()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TomahawkWindow::toggleLoved()
|
|
||||||
|
void
|
||||||
|
TomahawkWindow::toggleLoved()
|
||||||
{
|
{
|
||||||
if ( !AudioEngine::instance()->currentTrack().isNull() )
|
if ( !AudioEngine::instance()->currentTrack().isNull() )
|
||||||
{
|
{
|
||||||
@@ -414,6 +416,7 @@ void TomahawkWindow::toggleLoved()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkWindow::setupSideBar()
|
TomahawkWindow::setupSideBar()
|
||||||
{
|
{
|
||||||
@@ -613,6 +616,7 @@ TomahawkWindow::setupWindowsButtons()
|
|||||||
#endif//QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
#endif//QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||||
HICON
|
HICON
|
||||||
TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
|
TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
|
||||||
@@ -625,9 +629,11 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type )
|
|||||||
}
|
}
|
||||||
return thumbIcons[type];
|
return thumbIcons[type];
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
QIcon TomahawkWindow::thumbIcon(TomahawkUtils::ImageType type)
|
QIcon
|
||||||
|
TomahawkWindow::thumbIcon(TomahawkUtils::ImageType type)
|
||||||
{
|
{
|
||||||
return TomahawkUtils::defaultPixmap( type , TomahawkUtils::Original, QSize( 40, 40 ) );
|
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 )
|
#endif//defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkWindow::audioStateChanged( AudioState newState, AudioState oldState )
|
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 )
|
#endif//defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK( 5, 2, 0 )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkWindow::onHistoryBackAvailable( bool avail )
|
TomahawkWindow::onHistoryBackAvailable( bool avail )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user