diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-09-29 06:37:52 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-09-29 06:37:52 (GMT) |
commit | 6034fc5b4a15bab2ab65e4cc3963fe00bdcb415b (patch) | |
tree | d865e6884cd394a8cf12119ed0d6eb4c45337237 /demos | |
parent | dbfff9e8edb8353ca5698281dd3937d491fbc593 (diff) | |
download | Qt-6034fc5b4a15bab2ab65e4cc3963fe00bdcb415b.zip Qt-6034fc5b4a15bab2ab65e4cc3963fe00bdcb415b.tar.gz Qt-6034fc5b4a15bab2ab65e4cc3963fe00bdcb415b.tar.bz2 |
Fixed: Fluidlauncher doesn't react to keys.
Some recent changes had made Fluidlauncher unresponsive to keyboard
input. It appears none of the Fluidlauncher widgets got keyboard
focus by default, so set the focus explicitly to proper widget.
Task-number: QT-2214
Reviewed-by: Alessandro Portale
Diffstat (limited to 'demos')
-rw-r--r-- | demos/embedded/fluidlauncher/fluidlauncher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/embedded/fluidlauncher/fluidlauncher.cpp b/demos/embedded/fluidlauncher/fluidlauncher.cpp index 3cd3f3c..c065bc9 100644 --- a/demos/embedded/fluidlauncher/fluidlauncher.cpp +++ b/demos/embedded/fluidlauncher/fluidlauncher.cpp @@ -57,6 +57,7 @@ FluidLauncher::FluidLauncher(QStringList* args) addWidget(pictureFlowWidget); addWidget(slideShowWidget); setCurrentWidget(pictureFlowWidget); + pictureFlowWidget->setFocus(); QRect screen_size = QApplication::desktop()->screenGeometry(); |