diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 18:17:04 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 18:17:04 +0000 |
commit | 732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51 (patch) | |
tree | f09bb3b8c34cdfd78f8346460fabac7b2f21ddf8 /src/gui/inttextbox.cpp | |
parent | aba239393ecd298e8ffd16e0b6a5d86837c594ae (diff) | |
download | mana-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.gz mana-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.bz2 mana-732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51.tar.xz mana-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.cpp | 10 |
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); } - - |