summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2010-09-03 11:22:58 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-06 02:43:04 (GMT)
commit4277b47fb025935bc3723305482d5e755227c9ae (patch)
tree9d43b07734a35b61b00a48c1eda952f5a49e1957
parentb702451f9eb4705c6d1b0b8aa6f017e5fc5d9ee2 (diff)
downloadQt-4277b47fb025935bc3723305482d5e755227c9ae.zip
Qt-4277b47fb025935bc3723305482d5e755227c9ae.tar.gz
Qt-4277b47fb025935bc3723305482d5e755227c9ae.tar.bz2
Added missing code to bring web browser foreground in Symbian.
Task-number: QTBUG-8336 Reviewed-by: Miikka Heikkinen (cherry picked from commit d5373433d2a6d632e06d3873003069d49e17e2cd)
-rw-r--r--src/gui/util/qdesktopservices_s60.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/util/qdesktopservices_s60.cpp b/src/gui/util/qdesktopservices_s60.cpp
index 24f6ccf..cd023cb 100644
--- a/src/gui/util/qdesktopservices_s60.cpp
+++ b/src/gui/util/qdesktopservices_s60.cpp
@@ -223,6 +223,7 @@ static void handleOtherSchemesL(const TDesC& aUrl)
TApaTask task = taskList.FindApp(KUidBrowser);
if (task.Exists()){
// Switch to existing browser instance
+ task.BringToForeground();
HBufC8* param8 = HBufC8::NewLC(buf16->Length());
param8->Des().Append(buf16->Des());
task.SendMessage(TUid::Uid( 0 ), *param8); // Uid is not used