SmartPlaylistSearchTerm: Move value assigment
Mistake done in commit 3f3ae7c38f
This commit is contained in:
parent
edd088927d
commit
948be36d3c
|
@ -38,10 +38,9 @@ QString SmartPlaylistSearchTerm::ToSql() const {
|
||||||
|
|
||||||
QString col = FieldColumnName(field_);
|
QString col = FieldColumnName(field_);
|
||||||
QString date = DateName(date_, true);
|
QString date = DateName(date_, true);
|
||||||
QString value;
|
QString value = value_.toString();
|
||||||
value.replace('\'', "''");
|
value.replace('\'', "''");
|
||||||
|
|
||||||
value = value_.toString();
|
|
||||||
if (field_ == Field_Filetype) {
|
if (field_ == Field_Filetype) {
|
||||||
Song::FileType filetype = Song::FiletypeByExtension(value);
|
Song::FileType filetype = Song::FiletypeByExtension(value);
|
||||||
if (filetype == Song::FileType_Unknown) {
|
if (filetype == Song::FileType_Unknown) {
|
||||||
|
|
Loading…
Reference in New Issue