Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ec4c41ba authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use resource for xmlgui file

parent 356e3c6d
......@@ -140,7 +140,7 @@ set(kopete_jabber_PART_SRCS
jabberbobcache.cpp
xoauth2provider.cpp
)
qt5_add_resources(kopete_jabber_PART_SRCS jabberprotocol.qrc)
if(BUILD_LIBJINGLE)
set(kopete_jabber_PART_SRCS
${kopete_jabber_PART_SRCS}
......@@ -177,4 +177,3 @@ install(TARGETS kopete_jabber DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_jabber.desktop xmpp.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES jabberchatui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
......@@ -48,7 +48,7 @@ JabberChatSession::JabberChatSession (JabberProtocol *protocol, const JabberBase
{
qCDebug(JABBER_PROTOCOL_LOG) << "New message manager for " << user->contactId();
setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
setComponentName(QStringLiteral("jabber_protocol"), i18n("Kopete"));
// make sure Kopete knows about this instance
Kopete::ChatSessionManager::self()->registerChatSession(this);
......
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/jabber_protocol">
<file>jabberchatui.rc</file>
</qresource>
</RCC>
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