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 2f916057 authored by Laurent Montel's avatar Laurent Montel 😁

Fix crash when we edit toolbar. It seems that we mustn't add full resource path but only filename

parent 35a6c42f
......@@ -167,7 +167,7 @@ void KOrganizer::initActions()
KStandardAction::configureToolbars(this, &KOrganizer::configureToolbars, actionCollection());
KStandardAction::quit(this, &KOrganizer::close, actionCollection());
setXMLFile(QStringLiteral(":/kxmlgui5/korganizer/korganizerui.rc"), true);
setXMLFile(QStringLiteral("korganizerui.rc"), true);
createGUI(nullptr);
setAutoSaveSettings();
......
......@@ -82,7 +82,7 @@ KOrganizerPart::KOrganizerPart(QWidget *parentWidget, QObject *parent, const QVa
mActionManager->init();
mActionManager->readSettings();
setXMLFile(QStringLiteral(":/kxmlgui5/korganizer/korganizer_part.rc"), true);
setXMLFile(QStringLiteral("korganizer_part.rc"), true);
mActionManager->loadParts();
setTitle();
}
......
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