diff options
-rw-r--r-- | src/qt/bitcoingui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 6d8060d179..0c9f778ff6 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -164,8 +164,8 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): // Windows-specific customization if (QtWin::isCompositionEnabled()) { - QtWin::extendFrameIntoClientArea(&window); - window.setContentsMargins(0, 0, 0, 0); + QtWin::extendFrameIntoClientArea(this); + setContentsMargins(0, 0, 0, 0); } #endif setWindowComposition(); |