[PC-BSD Commits] r5653 - pcbsd/trunk/SoftwareManager

svn at pcbsd.org svn at pcbsd.org
Fri Dec 18 07:49:51 PST 2009


Author: kris
Date: 2009-12-18 07:49:51 -0800 (Fri, 18 Dec 2009)
New Revision: 5653

Modified:
   pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
Log:

Updated the viewer which displays details about a system update to use konqueror



Modified: pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
===================================================================
--- pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp	2009-12-18 10:01:28 UTC (rev 5652)
+++ pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp	2009-12-18 15:49:51 UTC (rev 5653)
@@ -1060,18 +1060,9 @@
 
 void PBM::slotOpenSysDetails(int id)
 {
-   QDialog *viewer = new QDialog(this);
-   QGridLayout *layout = new QGridLayout(viewer);
-   QWebView *view = new QWebView(viewer);
-
-   layout->addWidget(view);
-   view->setLayout(layout);
-   view->show();
-   view->load(QUrl(SysUpdateDetailsURL[id]));
-
-   viewer->setSizeGripEnabled(true);
-   viewer->resize(1024,600);
-   viewer->show();
+   QString command;
+   command = "konqueror " + SysUpdateDetailsURL[id] + " &";
+   system(command.toLatin1());
 }
 
 



More information about the Commits mailing list