set corona stickyFocus property to true.

This means that clicking on an inactive widget doesn't reset the focus, done for 2 reasons:
* consistence: same behaviour as QWidgets and top level windows
* bugfix: the plasmaboard on screen keyboard now can send input to desktop widgets 


svn path=/trunk/KDE/kdelibs/; revision=1213727
This commit is contained in:
Marco Martin 2011-01-11 12:14:16 +00:00
parent 9494527c60
commit d41c2a2b54

View File

@ -86,6 +86,7 @@ public:
void init() void init()
{ {
q->setStickyFocus(true);
configSyncTimer.setSingleShot(true); configSyncTimer.setSingleShot(true);
QObject::connect(&configSyncTimer, SIGNAL(timeout()), q, SLOT(syncConfig())); QObject::connect(&configSyncTimer, SIGNAL(timeout()), q, SLOT(syncConfig()));