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

Fix find rc file

parent fe74cf10
......@@ -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)
......
......@@ -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()));
......
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