From 35cde5cddd5e6cd82e8020e18ae46541495b149e Mon Sep 17 00:00:00 2001 From: Max Lapan Date: Mon, 15 Mar 2010 17:28:42 +0300 Subject: [PATCH 1/1] Add tr () to dialog checkboxes --- settingsDialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/settingsDialog.cpp b/settingsDialog.cpp index 82c2dc2..3e48230 100644 --- a/settingsDialog.cpp +++ b/settingsDialog.cpp @@ -118,13 +118,13 @@ void DisplaySettingsDialog::initChecks (QBoxLayout *layout) { QGridLayout *grid = new QGridLayout; - _showLight = new QCheckBox ("Light", this); + _showLight = new QCheckBox (tr ("Light"), this); _showLight->setChecked (settings ()->check (Settings::C_Light)); - _showRank = new QCheckBox ("Rank", this); + _showRank = new QCheckBox (tr ("Rank"), this); _showRank->setChecked (settings ()->check (Settings::C_Rank)); - _showTime = new QCheckBox ("Time", this); + _showTime = new QCheckBox (tr ("Time"), this); _showTime->setChecked (settings ()->check (Settings::C_Time)); - _showHint = new QCheckBox ("Hint", this); + _showHint = new QCheckBox (tr ("Hint"), this); _showHint->setChecked (settings ()->check (Settings::C_Hint)); grid->addWidget (_showLight, 0, 0); -- 1.7.9.5