summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-08 19:59:28 -0700
committerIra Rice <irarice@gmail.com>2009-02-08 19:59:28 -0700
commit40edf4e91558cffd83d9015a2cf4a16360e27855 (patch)
tree7e0f53ab1c82f694412a94856fc2a9ba05d87370 /src/gui/setup_joystick.cpp
parent450edb5900a46ada0cc6292f0079a31ea5d04573 (diff)
downloadmana-client-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.gz
mana-client-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.bz2
mana-client-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.xz
mana-client-40edf4e91558cffd83d9015a2cf4a16360e27855.zip
Mostly fixed a few field values to behave better in Windows, as well as
removed the need for sending graphics to the setSpeech function (since it isn't needed) and started actually using the time variable which it's passed (could be set to show the speech longer if the dialog is longer, for example). Signed-off-by: Ira Rice <irarice@gmail.com>
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 2c726b87..2ebcdbde 100644
--- a/src/gui/setup_joystick.cpp
+++ b/src/gui/setup_joystick.cpp
@@ -41,7 +41,7 @@ Setup_Joystick::Setup_Joystick():
{
setOpaque(false);
- mOriginalJoystickEnabled = (int)config.getValue("joystickEnabled", 0) != 0;
+ mOriginalJoystickEnabled = !config.getValue("joystickEnabled", false);
mJoystickEnabled->setSelected(mOriginalJoystickEnabled);
mJoystickEnabled->addActionListener(this);