forked from mirror/openmw-tes3mp
make sure case handling in info IDs is consistent
This commit is contained in:
parent
982024a328
commit
a06aa881cb
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QUuid>
|
#include <QUuid>
|
||||||
|
|
||||||
|
#include <components/misc/stringops.hpp>
|
||||||
|
|
||||||
#include "../../model/world/data.hpp"
|
#include "../../model/world/data.hpp"
|
||||||
#include "../../model/world/commands.hpp"
|
#include "../../model/world/commands.hpp"
|
||||||
#include "../../model/world/columns.hpp"
|
#include "../../model/world/columns.hpp"
|
||||||
|
@ -14,7 +16,7 @@
|
||||||
|
|
||||||
std::string CSVWorld::InfoCreator::getId() const
|
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();
|
std::string unique = QUuid::createUuid().toByteArray().data();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue