Use the canonical version of defining string literals

Change-Id: If36658de6f68f552f93830ba4f1cfa9994a2e44c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-09-26 13:01:29 +02:00
committed by Tobias Hunger
parent 921f86dfa7
commit f17d9f01dc
11 changed files with 32 additions and 38 deletions

View File

@@ -35,8 +35,8 @@
namespace QmlProjectManager {
namespace Constants {
const char *const PROJECTCONTEXT = "QmlProject.ProjectContext";
const char *const QMLPROJECT_MIMETYPE = QmlJSTools::Constants::QMLPROJECT_MIMETYPE;
const char PROJECTCONTEXT[] = "QmlProject.ProjectContext";
const char QMLPROJECT_MIMETYPE[] = QmlJSTools::Constants::QMLPROJECT_MIMETYPE;
} // namespace Constants
} // namespace QmlProjectManager