summaryrefslogtreecommitdiff
path: root/src/gui/inttextbox.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 18:17:04 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 18:17:04 +0000
commit732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51 (patch)
treef09bb3b8c34cdfd78f8346460fabac7b2f21ddf8 /src/gui/inttextbox.cpp
parentaba239393ecd298e8ffd16e0b6a5d86837c594ae (diff)
downloadmana-client-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.gz
mana-client-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.bz2
mana-client-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.xz
mana-client-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.zip
Using custom focus handler to work around problem with multiple widgets
requesting modal focus using a stack based approach.
Diffstat (limited to 'src/gui/inttextbox.cpp')
-rw-r--r--src/gui/inttextbox.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/inttextbox.cpp b/src/gui/inttextbox.cpp
index e28040d2..16650799 100644
--- a/src/gui/inttextbox.cpp
+++ b/src/gui/inttextbox.cpp
@@ -23,13 +23,13 @@
#include "inttextbox.h"
-IntTextBox::IntTextBox()
- : value(0)
+IntTextBox::IntTextBox():
+ value(0)
{
}
-IntTextBox::IntTextBox(int i)
- : value(i)
+IntTextBox::IntTextBox(int i):
+ value(i)
{
}
@@ -72,5 +72,3 @@ void IntTextBox::setInt(int i)
setText(s.str());
setCaretPosition(s.str().length() + 1);
}
-
-