aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-09-07 18:16:38 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-09-07 18:16:38 +0200
commitf077d1ad62cba26b2620c87abba87be7fec15f0d (patch)
tree50512341a7f7425d1b26ebce32c77af2b9f68ae4 /src/qt
parent94723e27adf04eb62b3cdb40ead503ee5f40cab4 (diff)
fix the build (moved code use 'this' instead of 'window')
Diffstat (limited to 'src/qt')
-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();