[PC-BSD Commits] r2522 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Mon Aug 4 11:12:07 PDT 2008


Author: kris
Date: 2008-08-04 11:12:07 -0700 (Mon, 04 Aug 2008)
New Revision: 2522

Modified:
   pcbsd/trunk/PCInstall/pcinstall.cpp
Log:

Updated the stylesheet info for the Promo ad during install, should fix transparency issues



Modified: pcbsd/trunk/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.cpp	2008-08-04 18:01:42 UTC (rev 2521)
+++ pcbsd/trunk/PCInstall/pcinstall.cpp	2008-08-04 18:12:07 UTC (rev 2522)
@@ -2530,14 +2530,13 @@
     }
     
     
-    	  //QImage *Icon = new QImage(FileName);
-	  //QPixmap PixmapIcon(FileName);
-	  //PixmapIcon.convertFromImage(Icon->scaled(450,215));
-	  //frameDisplayAd1->setPaletteBackgroundPixmap(PixmapIcon.scaled(450,215));
 	  frameDisplayAd2->setStyleSheet(QString::fromUtf8("background-image: url(" + FileName + ");"));
 	  frameDisplayAd1->setStyleSheet(QString::fromUtf8("background-image: url(" + FileName + ");"));
-	  //frameDisplayAd2->setPaletteBackgroundPixmap(PixmapIcon.scaled(450,215));
+
+          textLabelAd1->setStyleSheet(QString::fromUtf8("background-color: white"));
+	  textLabelAd2->setStyleSheet(QString::fromUtf8("background-color: white"));
     
+    
     QTimer::singleShot( 15000, this, SLOT(changePromoAd()) );
     
     



More information about the Commits mailing list