diff --git a/src/plugins/coreplugin/dialogs/shortcutsettings.cpp b/src/plugins/coreplugin/dialogs/shortcutsettings.cpp index b245d5ced5962ebf9d22578d9ea5d330fa6677ff..a60a2046e58ab91950ba38c957bfd2505fa90969 100644 --- a/src/plugins/coreplugin/dialogs/shortcutsettings.cpp +++ b/src/plugins/coreplugin/dialogs/shortcutsettings.cpp @@ -82,7 +82,7 @@ QWidget *ShortcutSettings::createPage(QWidget *parent) { m_keyNum = m_key[0] = m_key[1] = m_key[2] = m_key[3] = 0; - m_page = new Ui_ShortcutSettings(); + m_page = new Ui_ShortcutSettings(parent); QWidget *w = new QWidget(parent); m_page->setupUi(w);