]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix compilation problem on some platforms
authorvsr <vsr@opencascade.com>
Fri, 31 Oct 2008 08:46:31 +0000 (08:46 +0000)
committervsr <vsr@opencascade.com>
Fri, 31 Oct 2008 08:46:31 +0000 (08:46 +0000)
src/SUIT/SUIT_LicenseDlg.cxx

index 4faafba13480143d5771103eb3e92458d848e44c..c33c34f704a9b0f5c4a01ec179947c3d4699d9a1 100755 (executable)
@@ -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