1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 10:24:19 +01:00

Return result directly.

This commit is contained in:
Mattias Andersson 2015-05-26 21:51:04 +02:00
parent aaf2ec25b3
commit 60918ef7f8

View File

@ -1109,8 +1109,7 @@ QString LibraryModel::SortTextForArtist(QString artist) {
}
QString LibraryModel::SortTextForNumber(int number) {
QString str = QString("%1").arg(number, 4, 10, QChar('0'));
return str;
return QString("%1").arg(number, 4, 10, QChar('0'));
}
QString LibraryModel::SortTextForSong(const Song& song) {