summaryrefslogtreecommitdiff
path: root/src/settings/adblockwidget.cpp
diff options
context:
space:
mode:
authorAndrius Štikonas <stikonas@gmail.com>2010-06-09 17:11:26 +0100
committerAndrius Štikonas <stikonas@gmail.com>2010-07-06 11:23:09 +0300
commit7dad5e9e2348dfaeee0b0ed10fc76ae2ca834376 (patch)
treefee06a491bf662c98b2dfc2bb46d4da2a3923c41 /src/settings/adblockwidget.cpp
parentupdating version number (diff)
downloadrekonq-7dad5e9e2348dfaeee0b0ed10fc76ae2ca834376.tar.xz
Use KIntSpinBox together with plural aware setSuffix instead of static QSpinBox suffix.
Diffstat (limited to 'src/settings/adblockwidget.cpp')
-rw-r--r--src/settings/adblockwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/adblockwidget.cpp b/src/settings/adblockwidget.cpp
index a703fe09..3a87376a 100644
--- a/src/settings/adblockwidget.cpp
+++ b/src/settings/adblockwidget.cpp
@@ -64,6 +64,8 @@ AdBlockWidget::AdBlockWidget(QWidget *parent)
load();
+ spinBox->setSuffix(ki18np(" day", " days"));
+
// emit changed signal
connect(insertButton, SIGNAL(clicked()), this, SLOT(hasChanged()));
connect(removeButton, SIGNAL(clicked()), this, SLOT(hasChanged()));