1
0
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:
Christian Muehlhaeuser
2010-11-16 03:41:17 +01:00
parent 2fe382b232
commit c0727d25cc

View File

@@ -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 );
} }
} }