Commit a13b80f4 authored by Marco Martin's avatar Marco Martin
Browse files

add a report bug action

It directly opens the url, as there is no wizard, i don't see much point
of having an in-between dialog

also adds a spacer to make it more coherent with other apps
parent f480a4a5
......@@ -97,6 +97,7 @@ int main(int argc, char **argv)
aboutData.setTranslator(i18ndc(nullptr, "NAME OF TRANSLATORS", "Your names"), i18ndc(nullptr, "EMAIL OF TRANSLATORS", "Your emails"));
KDBusService service(KDBusService::Unique);
......@@ -96,6 +96,14 @@ Kirigami.ApplicationWindow {
text: app.globalDrawer.collapsed ? i18nc("@action", "Expand Sidebar") : i18nc("@action", "Collapse Sidebar")
onTriggered: app.globalDrawer.collapsed = !app.globalDrawer.collapsed
Kirigami.Action {
separator: true
Kirigami.Action { "tools-report-bug";
text: i18nc("@action", "Report Bug...");
onTriggered: Qt.openUrlExternally(CommandLineArguments.aboutData.bugAddress);
Kirigami.Action { "help-about-symbolic";
text: i18nc("@action", "About System Monitor");
Supports Markdown
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