summaryrefslogtreecommitdiffstats
path: root/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-01-07 06:40:26 +0100
committerPetr Mrázek <peterix@gmail.com>2016-01-07 06:40:26 +0100
commit59e6b4ed55403dad42b73d526683fa5e5698e3a8 (patch)
tree1c2ff59df21eb3ddf6822c5e93649e763f2eb1b3 /logic/minecraft
parent5ff9f90ce97b1986ea19bffe28426ade7a85d54b (diff)
downloadMultiMC-59e6b4ed55403dad42b73d526683fa5e5698e3a8.tar
MultiMC-59e6b4ed55403dad42b73d526683fa5e5698e3a8.tar.gz
MultiMC-59e6b4ed55403dad42b73d526683fa5e5698e3a8.tar.lz
MultiMC-59e6b4ed55403dad42b73d526683fa5e5698e3a8.tar.xz
MultiMC-59e6b4ed55403dad42b73d526683fa5e5698e3a8.zip
GH-1379 fix build with Qt 5.2.1 on ubuntu64
Diffstat (limited to 'logic/minecraft')
-rw-r--r--logic/minecraft/RawLibrary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/RawLibrary.cpp b/logic/minecraft/RawLibrary.cpp
index 7da743e4..9806a684 100644
--- a/logic/minecraft/RawLibrary.cpp
+++ b/logic/minecraft/RawLibrary.cpp
@@ -74,7 +74,7 @@ RawLibraryPtr RawLibrary::fromJsonPlus(const QJsonObject &libObj, const QString
auto lib = RawLibrary::fromJson(libObj, filename);
if (libObj.contains("insert"))
{
- QJsonValue insertVal = ensureJsonValue(libObj.value("insert"), "library insert rule");
+ QJsonValue insertVal = ensureJsonValue(libObj.value("insert"), QString("library insert rule"));
if (insertVal.isString())
{
// it's just a simple string rule. OK.