[PC-BSD Commits] r2150 - pcbsd/trunk/kcmPBMsource

svn at pcbsd.org svn at pcbsd.org
Sat Jun 21 12:22:04 PDT 2008


Author: kris
Date: 2008-06-21 12:22:04 -0700 (Sat, 21 Jun 2008)
New Revision: 2150

Modified:
   pcbsd/trunk/kcmPBMsource/pbm.ui.h
Log:

Fixed a bug which deleted icons from programs after a removal



Modified: pcbsd/trunk/kcmPBMsource/pbm.ui.h
===================================================================
--- pcbsd/trunk/kcmPBMsource/pbm.ui.h	2008-06-21 18:54:21 UTC (rev 2149)
+++ pcbsd/trunk/kcmPBMsource/pbm.ui.h	2008-06-21 19:22:04 UTC (rev 2150)
@@ -165,9 +165,10 @@
                     qDebug("iconPath: " + iconPath);
                     QIcon custIcon;
                     custIcon.addFile(iconPath);
-		    //QMessageBox::information( this, tr("Error!"), "Icon:" + iconPath );
 
+                    // Set the icon, and set the icon path
                     pbi->setIcon(custIcon);
+		    pbi->setIconPath(iconPath);
 		}
 		if ( line.find("ProgAuthor:") == 0)
 		{



More information about the Commits mailing list