Commit ec4b41d3 authored by dt's avatar dt
Browse files

Fixes: Hups, okay this should compile.

parent c84e6fd4
......@@ -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(parent);
m_page = new Ui_ShortcutSettings();
QWidget *w = new QWidget(parent);
m_page->setupUi(w);
......@@ -116,6 +116,8 @@ QWidget *ShortcutSettings::createPage(QWidget *parent)
commandChanged(0);
delete m_page;
return w;
}
......
......@@ -64,7 +64,7 @@ QString GeneralSettings::trCategory() const
QWidget *GeneralSettings::createPage(QWidget *parent)
{
m_page = new Ui_GeneralSettings(parent);
m_page = new Ui_GeneralSettings();
QWidget *w = new QWidget(parent);
m_page->setupUi(w);
......@@ -77,7 +77,7 @@ QWidget *GeneralSettings::createPage(QWidget *parent)
this, SLOT(resetExternalEditor()));
connect(m_page->helpExternalEditorButton, SIGNAL(clicked()),
this, SLOT(showHelpForExternalEditor()));
delete m_page;
return w;
}
......
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