thsurrel added a comment.
Simply calling setFocus() was not working (I used this in D16914 <https://phabricator.kde.org/D16914>). My understanding is that the widget containing this has to be completely built before trying to set the focus, adding the timer ensures that. Correct me if this is wrong. REPOSITORY R295 KCMUtils REVISION DETAIL https://phabricator.kde.org/D16913 To: thsurrel, #frameworks Cc: ngraham, kde-frameworks-devel, michaelh, bruns