diff --git a/src/tomahawkwindow.cpp b/src/tomahawkwindow.cpp index 6a915fd72..6f587fac1 100644 --- a/src/tomahawkwindow.cpp +++ b/src/tomahawkwindow.cpp @@ -741,11 +741,21 @@ TomahawkWindow::setWindowTitle( const QString& title ) void TomahawkWindow::showAboutTomahawk() { - QMessageBox::about( this, tr( "About Tomahawk" ), - tr( "

Tomahawk %1
(%2)

Copyright 2010 - 2012
Christian Muehlhaeuser <muesli@tomahawk-player.org>

" - "Thanks to: Leo Franchi, Jeff Mitchell, Dominik Schmidt, Jason Herskowitz, Alejandro Wainzinger, Hugo Lindström, Michael Zanetti, Harald Sitter and Steve Robertson" ) - .arg( TomahawkUtils::appFriendlyVersion() ) - .arg( qApp->applicationVersion() ) ); + QString head, desc; + +#ifdef DEBUG_BUILD + head = tr( "

Tomahawk %1
(%2)

" ) + .arg( TomahawkUtils::appFriendlyVersion() ) + .arg( qApp->applicationVersion() ); +#else + head = tr( "

Tomahawk %1

" ); + .arg( TomahawkUtils::appFriendlyVersion() ); +#endif + + desc = tr( "Copyright 2010 - 2012
Christian Muehlhaeuser <muesli@tomahawk-player.org>

" + "Thanks to: Leo Franchi, Jeff Mitchell, Dominik Schmidt, Jason Herskowitz, Alejandro Wainzinger, Hugo Lindström, Michael Zanetti, Harald Sitter and Steve Robertson" ); + + QMessageBox::about( this, tr( "About Tomahawk" ), head + desc ); }