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:
parent
2f5dd43e5b
commit
31b8ca4cb6
@ -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 );
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user