From f077d1ad62cba26b2620c87abba87be7fec15f0d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 7 Sep 2011 18:16:38 +0200 Subject: [PATCH] fix the build (moved code use 'this' instead of 'window') --- src/qt/bitcoingui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 6d8060d1..0c9f778f 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();