aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp4
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();