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

svn at pcbsd.org svn at pcbsd.org
Thu Mar 3 11:39:21 PST 2011


Author: kris
Date: 2011-03-03 11:39:21 -0800 (Thu, 03 Mar 2011)
New Revision: 9470

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

Removed network QT class from software manager, added SVG support as well



Modified: pcbsd/current/src-qt4/pc-softwaremanager/pc-softwaremanager.pro
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/pc-softwaremanager.pro	2011-03-03 17:48:29 UTC (rev 9469)
+++ pcbsd/current/src-qt4/pc-softwaremanager/pc-softwaremanager.pro	2011-03-03 19:39:21 UTC (rev 9470)
@@ -95,4 +95,4 @@
 
 INSTALLS += dotrans icons desktop
 
-QT +=  network
+QT += svg

Modified: pcbsd/current/src-qt4/pc-softwaremanager/softconfigwidget.h
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softconfigwidget.h	2011-03-03 17:48:29 UTC (rev 9469)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softconfigwidget.h	2011-03-03 19:39:21 UTC (rev 9470)
@@ -2,9 +2,6 @@
 #ifndef SOFTCONFGWIDGET_H
 #define SOFTCONFIGWIDGET_H
 
-#include <QNetworkAccessManager>
-#include <QNetworkReply>
-
 #include "ui_softconfigwidget.h"
 #include "../config.h"
 #include "classes.h"

Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-03-03 17:48:29 UTC (rev 9469)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-03-03 19:39:21 UTC (rev 9470)
@@ -405,7 +405,8 @@
              qDebug() << "Updating PBI:" << name;
            } else {
              // New PBI! Add it to our list
-             pbi = new PBI(defaultIcon.scaled(40,40));
+             //pbi = new PBI(defaultIcon.scaled(40,40));
+             pbi = new PBI();
              pbi->setProgIndexName(progIndexName);
              pbi->setName(name);
              pbi->setVersion(version);
@@ -418,7 +419,7 @@
 	     pbi->setDelete(false);
 	     pbi->setHidden(false);
              SoftwareListBox->addTopLevelItem(pbi); 
-             qDebug() << "Found PBI:" << name << version << repoID;
+             qDebug() << "Found PBI:" << name << version << repoID << icon;
            }
 
 	   progIndexName="";

Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.h
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.h	2011-03-03 17:48:29 UTC (rev 9469)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.h	2011-03-03 19:39:21 UTC (rev 9470)
@@ -20,10 +20,6 @@
 #include <QMenu>
 #include <QMessageBox>
 #include <QProcess>
-#include <QNetworkAccessManager>
-#include <QNetworkRequest>
-#include <QNetworkReply>
-#include <QNetworkProxy>
 
 /* Local Includes */
 #include "classes.h"



More information about the Commits mailing list