Commit aad42a73 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Don't pass Create to setupGUI()

This is recommended by the KXMLGuiWindow documentation. Passing Create to
setupGUI() will end up calling createGUI(), but KParts::MainWindow instances
are supposed to call createGUI(part) instead.

See also:
parent 30646f2c
......@@ -147,7 +147,7 @@ bool MainWindow::loadPart()
setupGUI(ToolBar | Keys | Save | Create, QStringLiteral("arkui.rc"));
setupGUI(ToolBar | Keys | Save, QStringLiteral("arkui.rc"));
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