From: vsr Date: Fri, 31 Oct 2008 08:46:31 +0000 (+0000) Subject: Fix compilation problem on some platforms X-Git-Tag: V5_1_0rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90fb7f955aa4b8ff9527f90e7317881b4e05e608;p=modules%2Fgui.git Fix compilation problem on some platforms --- diff --git a/src/SUIT/SUIT_LicenseDlg.cxx b/src/SUIT/SUIT_LicenseDlg.cxx index 4faafba13..c33c34f70 100755 --- a/src/SUIT/SUIT_LicenseDlg.cxx +++ b/src/SUIT/SUIT_LicenseDlg.cxx @@ -165,7 +165,7 @@ void SUIT_LicenseDlg::onPrint() QFont aFooterFont = aBodyFont; // calculate margin - QPaintDevice* aMetrics(aPainter.device()); + QPaintDevice* aMetrics = aPainter.device(); int aDpiY = aMetrics->logicalDpiY(); int aMargin = (int) ( (2/2.54)*aDpiY ); // 2 cm margins