From 03f06aadf4a4282bf87372d698c8e30e1fd729d9 Mon Sep 17 00:00:00 2001 From: Elisa Lupin-Jimenez Date: Tue, 26 Dec 2017 11:08:10 -0800 Subject: [PATCH] keyword filters case insensitive now --- interface/src/scripting/GooglePolyScriptingInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/scripting/GooglePolyScriptingInterface.cpp b/interface/src/scripting/GooglePolyScriptingInterface.cpp index 9629ae9b2e..f164d6e825 100644 --- a/interface/src/scripting/GooglePolyScriptingInterface.cpp +++ b/interface/src/scripting/GooglePolyScriptingInterface.cpp @@ -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()) {