diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-10-19 12:46:35 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-10-19 12:47:54 (GMT) |
commit | 2955086c8d588e58cbfb808ee45212d5ec196b58 (patch) | |
tree | e40315d3a219170b45f8b1015d2e0108c9e7f166 /demos/embedded | |
parent | 5c2ed0f727aa300f70d1a50ce74ad1f0e7649dc1 (diff) | |
download | Qt-2955086c8d588e58cbfb808ee45212d5ec196b58.zip Qt-2955086c8d588e58cbfb808ee45212d5ec196b58.tar.gz Qt-2955086c8d588e58cbfb808ee45212d5ec196b58.tar.bz2 |
Fluidlauncher now comes to foreground when child application dies.
Task-number: QT-2162
Reviewed-by: axis
Diffstat (limited to 'demos/embedded')
-rw-r--r-- | demos/embedded/fluidlauncher/fluidlauncher.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/embedded/fluidlauncher/fluidlauncher.cpp b/demos/embedded/fluidlauncher/fluidlauncher.cpp index c065bc9..5e8cc03 100644 --- a/demos/embedded/fluidlauncher/fluidlauncher.cpp +++ b/demos/embedded/fluidlauncher/fluidlauncher.cpp @@ -265,6 +265,10 @@ void FluidLauncher::demoFinished() { setCurrentWidget(pictureFlowWidget); inputTimer->start(); + + // Bring the Fluidlauncher to the foreground to allow selecting another demo + raise(); + activateWindow(); } void FluidLauncher::changeEvent(QEvent* event) |