From 7dad5e9e2348dfaeee0b0ed10fc76ae2ca834376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Wed, 9 Jun 2010 17:11:26 +0100 Subject: Use KIntSpinBox together with plural aware setSuffix instead of static QSpinBox suffix. --- src/settings/adblockwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings/adblockwidget.cpp') 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())); -- cgit v1.2.1