Commit 8e0f525a authored by Nate Graham's avatar Nate Graham
Browse files

[KCMs/Standard Actions] Give KCMShell window a sane default size

Summary:
BUG: 377653
FIXED-IN: 5.18.5

Test Plan:
Before: {F7884930}
After: {F7884929}

Reviewers: #plasma

Subscribers: cfeck, davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26695
parent ba66d2ea
......@@ -68,6 +68,9 @@ StandardActionsModule::StandardActionsModule(
m_editor = new KShortcutsEditor(this, KShortcutsEditor::WidgetAction | KShortcutsEditor::WindowAction | KShortcutsEditor::ApplicationAction); // there will be no global actions, so make sure that column is hidden
connect(m_editor, &KShortcutsEditor::keyChange, this, &StandardActionsModule::keyChanged);
// Give the editor a sane minimum size so that the KCMshell window isn't tiny
m_editor->setMinimumSize(600, 540);
// Make a layout
QVBoxLayout *global = new QVBoxLayout;
global->addWidget(m_editor);
......
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