diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-12-01 09:33:12 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-12-01 09:33:12 +0100 |
commit | 45336cbecb6eff3317a365f271dc548c297f4ffa (patch) | |
tree | 523b507dd9eba7633cc309cbb8cdad83c7502250 /client/widgets/window.cc | |
parent | 5d5595b9e1c1c22f7033a262b8174a5f3d05adc8 (diff) |
Fix setKeyboardFocus to work recursive on all widgets. Fixes bug where MultiList did not receive keyboard focus when it is the first child in the macro window.
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r-- | client/widgets/window.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/client/widgets/window.cc b/client/widgets/window.cc index b491d44..7aa6374 100644 --- a/client/widgets/window.cc +++ b/client/widgets/window.cc @@ -65,14 +65,5 @@ Window::~Window() bool Window::setKeyboardFocus() { - QVector< Widget* >::iterator i = children.begin(); - while(i != children.end()) { - Widget *w = *i; - if(w) { - if(w->setKeyboardFocus()) return true; - } - i++; - } - return false; } |