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

svn at pcbsd.org svn at pcbsd.org
Tue Dec 7 09:03:27 PST 2010


Author: kris
Date: 2010-12-07 09:03:27 -0800 (Tue, 07 Dec 2010)
New Revision: 8160

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

Fix the trigger for updating list of installed PBIs



Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2010-12-07 16:13:38 UTC (rev 8159)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2010-12-07 17:03:27 UTC (rev 8160)
@@ -89,7 +89,7 @@
 
    // Setup the filewatcher and PopulateList
    fileWatcher = new QFileSystemWatcher();
-   fileWatcher->addPath("/var/db/pbi");
+   fileWatcher->addPath("/var/db/pbi/installed");
    connect(fileWatcher, SIGNAL(directoryChanged(const QString&)), this, SLOT(PopulateList()));
 
    // Load any saved states for PBIs
@@ -158,7 +158,7 @@
 void PBM::RemoveButtonSlot()
 {
    //Stop the scanner from interfering
-   fileWatcher->removePath("/var/db/pbi");
+   fileWatcher->removePath("/var/db/pbi/installed");
    
    QTreeWidgetItemIterator it(SoftwareListBox);
    while (*it) {



More information about the Commits mailing list