From a06aa881cb9518a9770f9d172aaf495b29f0e5d6 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Fri, 8 Nov 2013 12:03:03 +0100 Subject: [PATCH] make sure case handling in info IDs is consistent --- apps/opencs/view/world/infocreator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/opencs/view/world/infocreator.cpp b/apps/opencs/view/world/infocreator.cpp index dcc943d547..f09222930e 100644 --- a/apps/opencs/view/world/infocreator.cpp +++ b/apps/opencs/view/world/infocreator.cpp @@ -7,6 +7,8 @@ #include #include +#include + #include "../../model/world/data.hpp" #include "../../model/world/commands.hpp" #include "../../model/world/columns.hpp" @@ -14,7 +16,7 @@ std::string CSVWorld::InfoCreator::getId() const { - std::string id = mTopic->text().toUtf8().constData(); + std::string id = Misc::StringUtils::lowerCase (mTopic->text().toUtf8().constData()); std::string unique = QUuid::createUuid().toByteArray().data();