mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 01:07:09 +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) {
|
QUrl GooglePolyScriptingInterface::formatURLQuery(QString keyword, QString category, QString format) {
|
||||||
QString queries;
|
QString queries;
|
||||||
if (!validFormats.contains(format) || !validCategories.contains(category)) {
|
if (!validFormats.contains(format, Qt::CaseInsensitive) || !validCategories.contains(category, Qt::CaseInsensitive)) {
|
||||||
return QUrl("");
|
return QUrl("");
|
||||||
} else {
|
} else {
|
||||||
if (!keyword.isEmpty()) {
|
if (!keyword.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue