summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:44:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:51:30 +0200
commitaefbc69aac9f7c793725153eefce2631555bfd1f (patch)
treedc43d7d5cb5cf84373ee43a02998349d1deb3e0c /src/gui/setup_joystick.cpp
parent3b229e19c2b7545a71a066383872acd5d9348e41 (diff)
downloadmana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.gz
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.bz2
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.xz
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.zip
Associated setup tab name with the tab itself
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
Diffstat (limited to 'src/gui/setup_joystick.cpp')
-rw-r--r--src/gui/setup_joystick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp
index 4a78d1ef..08a80bf7 100644
--- a/src/gui/setup_joystick.cpp
+++ b/src/gui/setup_joystick.cpp
@@ -38,7 +38,7 @@ Setup_Joystick::Setup_Joystick():
mCalibrateButton(new Button(_("Calibrate"), "calibrate", this)),
mJoystickEnabled(new CheckBox(_("Enable joystick")))
{
- setOpaque(false);
+ setName(_("Joystick"));
mOriginalJoystickEnabled = !config.getValue("joystickEnabled", false);
mJoystickEnabled->setSelected(mOriginalJoystickEnabled);