From f68c9a3ae41427e91a14951259f4df8a2f3f2b88 Mon Sep 17 00:00:00 2001 From: dt <qtc-committer@nokia.com> Date: Fri, 30 Jan 2009 14:31:38 +0100 Subject: [PATCH] Fixes: Memory leak in shortcutsettings Task: - RevBy: - AutoTest: - Details: - --- src/plugins/coreplugin/dialogs/shortcutsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/dialogs/shortcutsettings.cpp b/src/plugins/coreplugin/dialogs/shortcutsettings.cpp index b245d5ced59..a60a2046e58 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); -- GitLab