mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
keyword filters case insensitive now
This commit is contained in:
parent
e1b344e36d
commit
03f06aadf4
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ int GooglePolyScriptingInterface::getRandIntInRange(int length) {
|
|||
|
||||
QUrl GooglePolyScriptingInterface::formatURLQuery(QString keyword, QString category, QString format) {
|
||||
QString queries;
|
||||
if (!validFormats.contains(format) || !validCategories.contains(category)) {
|
||||
if (!validFormats.contains(format, Qt::CaseInsensitive) || !validCategories.contains(category, Qt::CaseInsensitive)) {
|
||||
return QUrl("");
|
||||
} else {
|
||||
if (!keyword.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue