mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
Use window() instead of obsolete topLevelWidget()
This commit is contained in:
parent
a7dc03223e
commit
0b4a5786bb
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ bool checkPoint(const QPoint &p, const QWidget *w)
|
|||
{
|
||||
QWidget *atW = QApplication::widgetAt(w->mapToGlobal(p));
|
||||
if (!atW) return false;
|
||||
return atW->topLevelWidget() == w;
|
||||
return atW->window() == w;
|
||||
}
|
||||
|
||||
bool isObscured(QWidget *w)
|
||||
|
|
Loading…
Add table
Reference in a new issue