This commit is contained in:
Kovid Goyal 2009-03-28 18:10:19 -07:00
parent b1357eae0c
commit 0b345b8562

View File

@ -33,7 +33,7 @@ class SearchDialog(QDialog, Ui_Dialog):
if all: if all:
ans += (' and ' if ans else '') + all ans += (' and ' if ans else '') + all
if none: if none:
ans += (' and not ' if ans else 'not') + none ans += (' and not ' if ans else 'not ') + none
if any: if any:
ans += (' or ' if ans else '') + any ans += (' or ' if ans else '') + any
return ans return ans