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

Fix load ui rc file

parent 7de65d83
......@@ -32,6 +32,6 @@ install(TARGETS kcm_kopete_privacy DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES privacyui.rc privacychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_privacy)
install( FILES privacyui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
install( FILES kopete_privacy.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopete_privacy_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......@@ -59,6 +59,7 @@ PrivacyPlugin::PrivacyPlugin(QObject *parent, const QVariantList &)
actionCollection()->addAction(QStringLiteral("addToBlackList"), addToBlackList);
connect(addToBlackList, SIGNAL(triggered(bool)), this, SLOT(slotAddToBlackList()));
setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
setXMLFile(QStringLiteral("privacyui.rc"));
m_inboundHandler = new PrivacyMessageHandlerFactory(Kopete::Message::Inbound,
......
......@@ -25,4 +25,4 @@ install(TARGETS kopete_statistics DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES org.kde.kopete.Statistics.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
install( FILES kopete_statistics.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES statisticsui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_statistics)
install( FILES statisticsui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
......@@ -74,6 +74,7 @@ StatisticsPlugin::StatisticsPlugin(QObject *parent, const QVariantList & /*args*
connect(Kopete::ContactList::self(), SIGNAL(metaContactRemoved(Kopete::MetaContact *)),
this, SLOT(slotMetaContactRemoved(Kopete::MetaContact *)));
setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
setXMLFile(QStringLiteral("statisticsui.rc"));
/* Initialization reads the database, so it could be a bit time-consuming
......
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