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 56a069bf authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use resource here.

parent dc66b8d7
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/kopete_translator">
<file>translatorui.rc</file>
<file>translatorchatui.rc</file>
</qresource>
</RCC>
......@@ -39,6 +39,8 @@ TranslatorGUIClient::TranslatorGUIClient(Kopete::ChatSession *parent)
: QObject(parent)
, KXMLGUIClient(parent)
{
setComponentName(QStringLiteral("kopete_translator"), i18n("Kopete"));
//setComponentData( TranslatorPlugin::plugin()->componentData() );
connect(TranslatorPlugin::plugin(), SIGNAL(destroyed(QObject *)), this, SLOT(deleteLater()));
......
......@@ -53,6 +53,8 @@ K_PLUGIN_FACTORY(TranslatorPluginFactory, registerPlugin<TranslatorPlugin>();
TranslatorPlugin::TranslatorPlugin(QObject *parent, const QVariantList & /* args */)
: Kopete::Plugin(parent)
{
setComponentName(QStringLiteral("kopete_translator"), i18n("Kopete"));
kDebug(14308);
if (pluginStatic_) {
......
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