summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-05 07:50:44 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-05 07:50:44 +0000
commitd99ca0915763717c850e5c2a6331d9775aab7ef5 (patch)
tree4e66032197ee77c992bdf2b86dcbe579ed515b65
parentc283378725f1b49d1d4be6fce86f8f53f5c79caa (diff)
downloadnavit-svn-d99ca0915763717c850e5c2a6331d9775aab7ef5.tar.gz
Fix:gui/qml:Fixed issue with ignoring keyboard events in Qt4.7
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3133 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--gui/qml/guiProxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/qml/guiProxy.h b/gui/qml/guiProxy.h
index 2f49764f..ae172f48 100644
--- a/gui/qml/guiProxy.h
+++ b/gui/qml/guiProxy.h
@@ -82,6 +82,7 @@ public slots:
//we render commands page hidden, so the screen doesn't flicks.
this->object->guiWidget->show();
this->object->switcherWidget->addWidget(this->object->guiWidget);
+ this->object->guiWidget->setFocus(Qt::ActiveWindowFocusReason);
this->object->switcherWidget->setCurrentWidget(this->object->guiWidget);
}
}