mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-12 04:40:28 +02:00
Use window() instead of obsolete topLevelWidget()
This commit is contained in:
parent
a7dc03223e
commit
0b4a5786bb
@ -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…
x
Reference in New Issue
Block a user