QGuiApplication::activeWindow() is deprecated
Change-Id: Id66740eb42fdaa86807222fbebc148de9434fa6e Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>bb10
parent
6abc66e076
commit
61a3615c46
|
|
@ -455,7 +455,7 @@ void QTouchScreenData::reportPoints()
|
|||
{
|
||||
QRect winRect;
|
||||
if (m_forceToActiveWindow) {
|
||||
QWindow *win = QGuiApplication::activeWindow();
|
||||
QWindow *win = QGuiApplication::focusWindow();
|
||||
if (!win)
|
||||
return;
|
||||
winRect = win->geometry();
|
||||
|
|
|
|||
Loading…
Reference in New Issue