mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 08:34:34 +02:00
* Nicer window title formatting.
This commit is contained in:
@@ -301,7 +301,7 @@ TomahawkWindow::setWindowTitle( const QString& title )
|
|||||||
QMainWindow::setWindowTitle( title );
|
QMainWindow::setWindowTitle( title );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QString s = m_currentTrack->artist() + " - " + m_currentTrack->track();
|
QString s = m_currentTrack->track() + " " + tr( "by" ) + " " + m_currentTrack->artist();
|
||||||
QMainWindow::setWindowTitle( s + " - " + title );
|
QMainWindow::setWindowTitle( s + " - " + title );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user