1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Clean up error and info display a little bit

This commit is contained in:
Leo Franchi 2011-05-23 20:47:25 -04:00
parent 2f5dd43e5b
commit 31b8ca4cb6
2 changed files with 2 additions and 1 deletions

View File

@ -181,6 +181,7 @@ Tomahawk::EchonestControl::updateWidgets()
QLabel* match = new QLabel( tr( "similar to" ) );
QLineEdit* input = new QLineEdit();
input->setPlaceholderText( "Enter any combination of song name and artist here..." );
m_matchString = QString();
m_matchData = QString::number( (int)Echonest::DynamicPlaylist::SongRadioType );

View File

@ -349,7 +349,7 @@ EchonestGenerator::onlyThisArtistType( Echonest::DynamicPlaylist::ArtistTypeEnum
if( some && only ) {
return true;
} else if( some && !only ) {
throw std::runtime_error( "All artist match types must be the same" );
throw std::runtime_error( "All artist and song match types must be the same" );
}
return false;