mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-06 20:33:30 +01:00
SmartPlaylistSearchTerm: Move value assigment
Mistake done in commit 3f3ae7c38fa073078feb9f7ee3c104bfd8b5ad14
This commit is contained in:
parent
edd088927d
commit
948be36d3c
@ -38,10 +38,9 @@ QString SmartPlaylistSearchTerm::ToSql() const {
|
||||
|
||||
QString col = FieldColumnName(field_);
|
||||
QString date = DateName(date_, true);
|
||||
QString value;
|
||||
QString value = value_.toString();
|
||||
value.replace('\'', "''");
|
||||
|
||||
value = value_.toString();
|
||||
if (field_ == Field_Filetype) {
|
||||
Song::FileType filetype = Song::FiletypeByExtension(value);
|
||||
if (filetype == Song::FileType_Unknown) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user