Commit 8f8359b0 authored by Méven Car's avatar Méven Car
Browse files

Close preview on close shortcut aka Ctrl-W

parent e8969855
......@@ -53,6 +53,8 @@ ArkViewer::ArkViewer()
connect(m_buttonBox, &QDialogButtonBox::rejected, this, &QMainWindow::close);
KStandardAction::close(this, &QMainWindow::close, actionCollection());
setXMLFile(QStringLiteral("ark_viewer.rc"));
setupGUI(ToolBar);
}
......
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