diff options
| author | Hennadii Stepanov <[email protected]> | 2018-11-25 11:32:59 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2018-11-25 11:32:59 +0200 |
| commit | 0b4a5786bb5442a309c22e534e62ab1082588300 (patch) | |
| tree | 55ae538eb4e99f2ca55de324b114ad097d5144b2 /src | |
| parent | Merge #14785: Scripts: Fix detection of copyright holders (diff) | |
| download | discoin-0b4a5786bb5442a309c22e534e62ab1082588300.tar.xz discoin-0b4a5786bb5442a309c22e534e62ab1082588300.zip | |
Use window() instead of obsolete topLevelWidget()
Diffstat (limited to 'src')
| -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 0e9aca21b..2fc166b0c 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) |