fix the build (moved code use 'this' instead of 'window')

This commit is contained in:
Wladimir J. van der Laan 2011-09-07 18:16:38 +02:00
parent 94723e27ad
commit f077d1ad62

View File

@ -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();