summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-07-19 15:12:06 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-07-19 15:12:06 +0000
commit4050f8c0bced625a95d542d30647c3f8bbf2267b (patch)
tree420d65a5ed6a2155762b4e13a4c90ab2df9f888e /src/gui/setup_video.cpp
parentda3a1fd114dd7b8e5e8c880bd987506acc16ac42 (diff)
downloadmana-client-4050f8c0bced625a95d542d30647c3f8bbf2267b.tar.gz
mana-client-4050f8c0bced625a95d542d30647c3f8bbf2267b.tar.bz2
mana-client-4050f8c0bced625a95d542d30647c3f8bbf2267b.tar.xz
mana-client-4050f8c0bced625a95d542d30647c3f8bbf2267b.zip
Merged new_animation branch until r2415 into trunk.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index d6289bbc..05543092 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -141,7 +141,7 @@ Setup_Video::Setup_Video():
mModeList->setSelected(-1);
mAlphaSlider->setValue(mOpacity);
-
+
mFpsField->setText(toString(mFps));
mFpsField->setEnabled(mFps > 0);
mFpsSlider->setValue(mFps);
@@ -213,7 +213,7 @@ void Setup_Video::apply()
new OkDialog("Changing OpenGL",
"Applying change to OpenGL requires restart.");
}
-
+
// FPS change
config.setValue("fpslimit", mFps);
@@ -273,7 +273,7 @@ void Setup_Video::action(const std::string &event)
void Setup_Video::keyPress(const gcn::Key &key)
{
std::stringstream tempFps(mFpsField->getText());
-
+
if (tempFps >> mFps)
{
if (mFps < 10)