diff --git a/core/chooseenginedialog.cpp b/core/chooseenginedialog.cpp
index ba0e42331..41bd35b4a 100644
--- a/core/chooseenginedialog.cpp
+++ b/core/chooseenginedialog.cpp
@@ -30,10 +30,16 @@ ChooseEngineDialog::ChooseEngineDialog( const QStringList &generators, const KMi
m_widget->engineList->addItems(generators);
m_widget->description->setText(
- i18n( "More than one backend found for mimetype \"%1\" (%2).\n"
+ i18n( "More than one backend found for the MIME type:
"
+ "%1 (%2).
"
"Please select which one to use:", mime->comment(), mime->name() ) );
}
+ChooseEngineDialog::~ChooseEngineDialog()
+{
+ delete m_widget;
+}
+
int ChooseEngineDialog::selectedGenerator() const
{
return m_widget->engineList->currentIndex();
diff --git a/core/chooseenginedialog.h b/core/chooseenginedialog.h
index e2afc75b5..20ae73946 100644
--- a/core/chooseenginedialog.h
+++ b/core/chooseenginedialog.h
@@ -21,6 +21,7 @@ class ChooseEngineDialog : public KDialog
{
public:
ChooseEngineDialog( const QStringList &generators, const KMimeType::Ptr &mime, QWidget * parent = 0 );
+ ~ChooseEngineDialog();
int selectedGenerator() const;
diff --git a/core/chooseenginewidget.ui b/core/chooseenginewidget.ui
index 9d77022e3..541d28412 100644
--- a/core/chooseenginewidget.ui
+++ b/core/chooseenginewidget.ui
@@ -1,57 +1,42 @@
-
-
-
ChooseEngineWidget
0
0
- 364
- 97
+ 286
+ 96
-
+
0
-
- 6
+
+ 0
+
+
+ 0
+
+
+ 0
-
-
-
- 1
- 1
- 0
- 0
-
-
-
- true
+
+ Qt::RichText
-
-
-
-
- 1
- 0
- 0
- 0
-
-
-
+
-