summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-03-26 09:44:04 +0200
committerPali Roh├ír <[email protected]>2017-12-22 09:10:25 +0100
commit7de65d8386ab9fcce25cbc8c3f3ee2b392cc0206 (patch)
treea1db5ac1b127e8d8f9cdf9673a213db3551c3fae
parentfe74cf10a29dfb265889845e4987cd79d17d380d (diff)
Fix find rc file
-rw-r--r--plugins/contactnotes/CMakeLists.txt2
-rw-r--r--plugins/contactnotes/contactnotesplugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/contactnotes/CMakeLists.txt b/plugins/contactnotes/CMakeLists.txt
index 0c8f9dd..cfe6ea1 100644
--- a/plugins/contactnotes/CMakeLists.txt
+++ b/plugins/contactnotes/CMakeLists.txt
@@ -19,7 +19,7 @@ install(TARGETS kopete_contactnotes DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_contactnotes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
-install( FILES contactnotesui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_contactnotes)
+install( FILES contactnotesui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
diff --git a/plugins/contactnotes/contactnotesplugin.cpp b/plugins/contactnotes/contactnotesplugin.cpp
index cb7ca5f..e5b3622 100644
--- a/plugins/contactnotes/contactnotesplugin.cpp
+++ b/plugins/contactnotes/contactnotesplugin.cpp
@@ -40,7 +40,7 @@ ContactNotesPlugin::ContactNotesPlugin(QObject *parent, const QVariantList & /*
} else {
pluginStatic_ = this;
}
-
+ setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
QAction *m_actionEdit = new QAction(QIcon::fromTheme(QStringLiteral("user-identity")), i18n("&Notes"), this);
actionCollection()->addAction(QStringLiteral("editContactNotes"), m_actionEdit);
connect(m_actionEdit, SIGNAL(triggered(bool)), this, SLOT(slotEditInfo()));