Because Qt is event-driven. You need to return control to the event loop for the focus to change.
QApplication::focusWidget()Is there any way to determine which widget got focus without having to go through each widget focus property?
Because Qt is event-driven. You need to return control to the event loop for the focus to change.
QApplication::focusWidget()Is there any way to determine which widget got focus without having to go through each widget focus property?
Bookmarks