[PC-BSD Commits] r9472 - pcbsd/current/src-qt4/pc-softwaremanager

svn at pcbsd.org svn at pcbsd.org
Thu Mar 3 11:57:34 PST 2011


Author: kris
Date: 2011-03-03 11:57:34 -0800 (Thu, 03 Mar 2011)
New Revision: 9472

Modified:
   pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp
Log:

Make sure we use the default icon in case none exists



Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-03-03 19:56:09 UTC (rev 9471)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-03-03 19:57:34 UTC (rev 9472)
@@ -405,8 +405,7 @@
              qDebug() << "Updating PBI:" << name;
            } else {
              // New PBI! Add it to our list
-             //pbi = new PBI(defaultIcon.scaled(40,40));
-             pbi = new PBI();
+             pbi = new PBI(defaultIcon.scaled(40,40));
              pbi->setProgIndexName(progIndexName);
              pbi->setName(name);
              pbi->setVersion(version);



More information about the Commits mailing list