summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-24 17:46:53 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-24 17:46:53 (GMT)
commitc220d895afff57bc30aa3a68fbcf04fd3d69eced (patch)
treea1102bc98620151f90086724a3c1d9bcfbaf0b67
parent00cece9fa534c10f7e6fcc54838b81e6ef2469b6 (diff)
In GEODATA_DEFINE_TAG_HANDLER use QLatin1String for the raw strings
-rw-r--r--src/lib/marble/geodata/parser/GeoTagHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/geodata/parser/GeoTagHandler.h b/src/lib/marble/geodata/parser/GeoTagHandler.h
index c4eb945..7979269 100644
--- a/src/lib/marble/geodata/parser/GeoTagHandler.h
+++ b/src/lib/marble/geodata/parser/GeoTagHandler.h
@@ -91,7 +91,7 @@ private:
// Macros to ease registering new handlers
#define GEODATA_DEFINE_TAG_HANDLER(Module, UpperCaseModule, Name, NameSpace) \
- static GeoTagHandlerRegistrar s_handler##Name##NameSpace(GeoParser::QualifiedName(Module##Tag_##Name, NameSpace), \
+ static GeoTagHandlerRegistrar s_handler##Name##NameSpace(GeoParser::QualifiedName(QLatin1String(Module##Tag_##Name), QLatin1String(NameSpace)), \
new UpperCaseModule##Name##TagHandler());
}