projects
/
yandex-traffic
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4532dbd
)
Add tr () to dialog checkboxes
author
Max Lapan
<max.lapan@gmail.com>
Mon, 15 Mar 2010 14:28:42 +0000
(17:28 +0300)
committer
Max Lapan
<max.lapan@gmail.com>
Mon, 15 Mar 2010 14:28:42 +0000
(17:28 +0300)
settingsDialog.cpp
patch
|
blob
|
history
diff --git
a/settingsDialog.cpp
b/settingsDialog.cpp
index
82c2dc2
..
3e48230
100644
(file)
--- a/
settingsDialog.cpp
+++ b/
settingsDialog.cpp
@@
-118,13
+118,13
@@
void DisplaySettingsDialog::initChecks (QBoxLayout *layout)
{
QGridLayout *grid = new QGridLayout;
{
QGridLayout *grid = new QGridLayout;
- _showLight = new QCheckBox ("Light", this);
+ _showLight = new QCheckBox (tr ("Light"), this);
_showLight->setChecked (settings ()->check (Settings::C_Light));
_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));
_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));
_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);
_showHint->setChecked (settings ()->check (Settings::C_Hint));
grid->addWidget (_showLight, 0, 0);