From b31a6b8c7e5a1ce3c9ba4b5ee019fabd4b7cac1b Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 1 Oct 2013 08:01:50 +0200 Subject: Allow to dnd manual filter. --- src/adblock/adblocksettingwidget.cpp | 1 - src/adblock/settings_adblock.ui | 19 +++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/adblock/adblocksettingwidget.cpp b/src/adblock/adblocksettingwidget.cpp index 6d565022..a55ee506 100644 --- a/src/adblock/adblocksettingwidget.cpp +++ b/src/adblock/adblocksettingwidget.cpp @@ -52,7 +52,6 @@ AdBlockSettingWidget::AdBlockSettingWidget(KSharedConfig::Ptr config, QWidget *p hintLabel->setText(i18n("Filter expression (e.g. http://www.example.com/ad/*, more information):")); connect(hintLabel, SIGNAL(linkActivated(QString)), this, SLOT(slotInfoLinkActivated(QString))); - manualFiltersListWidget->setSortingEnabled(true); manualFiltersListWidget->setSelectionMode(QAbstractItemView::SingleSelection); searchLine->setListWidget(manualFiltersListWidget); diff --git a/src/adblock/settings_adblock.ui b/src/adblock/settings_adblock.ui index e4f06339..c56f938b 100644 --- a/src/adblock/settings_adblock.ui +++ b/src/adblock/settings_adblock.ui @@ -103,7 +103,14 @@ - + + + true + + + QAbstractItemView::InternalMove + + @@ -146,11 +153,6 @@ - - KListWidgetSearchLine - KLineEdit -
klistwidgetsearchline.h
-
KLineEdit QLineEdit @@ -172,6 +174,11 @@
ktabwidget.h
1
+ + KListWidgetSearchLine + KLineEdit +
klistwidgetsearchline.h
+
-- cgit v1.2.1