From 732d52d4fcb3a1ae644e6d82b2b69fbfa2efaf51 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 5 Jun 2005 18:17:04 +0000 Subject: Using custom focus handler to work around problem with multiple widgets requesting modal focus using a stack based approach. --- src/gui/inttextbox.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/gui/inttextbox.cpp') 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); } - - -- cgit v1.2.3-70-g09d2