From a278f3b46bbdad27967bd2dc842c28812d4cce54 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Tue, 10 Jan 2012 13:37:42 +0800 Subject: [PATCH] A little refinement with the "Seconds to detect silence" option: * make the text a litter easier to understand(I hope so) * show time unit(second) as suffix in the spinbox --- src/EditProfileDialog.cpp | 1 + src/EditProfileDialog.ui | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EditProfileDialog.cpp b/src/EditProfileDialog.cpp index c607dbb4..2cc8ca2f 100644 --- a/src/EditProfileDialog.cpp +++ b/src/EditProfileDialog.cpp @@ -359,6 +359,7 @@ void EditProfileDialog::setupTabsPage(const Profile::Ptr info) // tab monitoring int silenceSeconds = info->property(Profile::SilenceSeconds); _ui->silenceSecondsSpinner->setValue(silenceSeconds); + _ui->silenceSecondsSpinner->setSuffix(ki18ncp("Unit of time", " second", " seconds")); // signals and slots connect(_ui->tabBarVisibilityCombo, SIGNAL(activated(int)), this, diff --git a/src/EditProfileDialog.ui b/src/EditProfileDialog.ui index 191779a8..d3327ed7 100644 --- a/src/EditProfileDialog.ui +++ b/src/EditProfileDialog.ui @@ -433,7 +433,7 @@ - Seconds to detect silence: + Threshold for continuous silence: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -443,7 +443,7 @@ - The threshold of detected silence in seconds + The threshold for continuous silence to be deteced by Konsole 1