summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-18 11:27:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-18 11:27:22 +0300
commit0971280bb608bcf9060bc9265c128f38e1a8058e (patch)
tree4a95fe2df51b87390b0d2d47bb1f64f78061e743 /src/gui/widgets/setupitem.cpp
parent997a8cd0794f208d4c148588f42695f2a5d0b3a8 (diff)
downloadplus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.gz
plus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.bz2
plus-0971280bb608bcf9060bc9265c128f38e1a8058e.tar.xz
plus-0971280bb608bcf9060bc9265c128f38e1a8058e.zip
Add tooltips to checkboxes in setup items.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 03db57adf..04f818451 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -239,6 +239,7 @@ void SetupItemCheckBox::createControls()
{
load();
mCheckBox = new CheckBox(this, mText, mValue != "0", mParent, mEventName);
+ mCheckBox->setToolTip(mDescription);
mWidget = mCheckBox;
mParent->getContainer()->add1(mWidget);
mParent->addControl(this);