diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2018-11-25 11:32:59 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2018-11-25 11:32:59 +0200 |
commit | 0b4a5786bb5442a309c22e534e62ab1082588300 (patch) | |
tree | 55ae538eb4e99f2ca55de324b114ad097d5144b2 /src/qt | |
parent | a7dc03223e915d7afb30498fe5faa12b5402f7d8 (diff) | |
download | bitcoin-0b4a5786bb5442a309c22e534e62ab1082588300.tar.xz |
Use window() instead of obsolete topLevelWidget()
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/guiutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 0e9aca21b1..2fc166b0c5 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -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) |