From 6034fc5b4a15bab2ab65e4cc3963fe00bdcb415b Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 29 Sep 2009 09:37:52 +0300 Subject: 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 --- demos/embedded/fluidlauncher/fluidlauncher.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v0.12