diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-09-07 18:16:38 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-09-07 18:16:38 +0200 |
| commit | f077d1ad62cba26b2620c87abba87be7fec15f0d (patch) | |
| tree | 50512341a7f7425d1b26ebce32c77af2b9f68ae4 | |
| parent | Pull request #21: windows fixes/cleanup by Matoking (diff) | |
| download | discoin-f077d1ad62cba26b2620c87abba87be7fec15f0d.tar.xz discoin-f077d1ad62cba26b2620c87abba87be7fec15f0d.zip | |
fix the build (moved code use 'this' instead of 'window')
| -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 6d8060d17..0c9f778ff 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(); |