Commit cdf5a10d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Friedemann Kleint
Browse files

Locator: Compile with QT_NO_CAST_FROM_ASCII



Change-Id: Ib20a50bf6989ff4b8c5fe4073dac0d22ed1d6f55
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 7fa69afa
TEMPLATE = lib
TARGET = Locator
DEFINES += LOCATOR_LIBRARY
DEFINES += LOCATOR_LIBRARY QT_NO_CAST_FROM_ASCII
include(../../qtcreatorplugin.pri)
include(locator_dependencies.pri)
HEADERS += locatorplugin.h \
......
......@@ -16,6 +16,7 @@ QtcPlugin {
"codeassist"
])
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
files: [
"basefilefilter.cpp",
"basefilefilter.h",
......
......@@ -48,7 +48,7 @@ using namespace Locator::Internal;
SettingsPage::SettingsPage(LocatorPlugin *plugin)
: m_plugin(plugin), m_page(0)
{
setId(Constants::FILTER_OPTIONS_PAGE);
setId(QLatin1String(Constants::FILTER_OPTIONS_PAGE));
setDisplayName(QCoreApplication::translate("Locator", Locator::Constants::FILTER_OPTIONS_PAGE));
setCategory(QLatin1String(Core::Constants::SETTINGS_CATEGORY_CORE));
setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::SETTINGS_TR_CATEGORY_CORE));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment