Commit dc46dcf4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile with -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII

parent ac8d0d47
......@@ -45,6 +45,7 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${KPimIdentities_SOURCE_DIR}")
find_package(KF5PimUtils ${KDEPIMLIBS_VERSION} CONFIG REQUIRED)
endif()
add_definitions(-DTRANSLATION_DOMAIN=\"libkpimidentities5\")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
########### Targets ###########
add_subdirectory(src)
......
......@@ -284,8 +284,6 @@ IdentityManager::IdentityManager( bool readonly, QObject *parent,
d( new Private( this ) )
{
setObjectName( QLatin1String(name) );
#warning another insertCatalog porting
// KLocalizedString::insertCatalog( "libkpimidentities" );
new IdentityManagerAdaptor( this );
QDBusConnection dbus = QDBusConnection::sessionBus();
const QString dbusPath = newDBusObjectName();
......
Markdown is supported
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