forked from qt-creator/qt-creator
Locator: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Ib20a50bf6989ff4b8c5fe4073dac0d22ed1d6f55 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Friedemann Kleint
parent
7fa69afa6c
commit
cdf5a10d4e
@@ -1,6 +1,6 @@
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user