[PC-BSD Commits] r3835 - in pcbsd: trunk/SystemUpdaterTray trunk-current/SystemUpdaterTray

svn at pcbsd.org svn at pcbsd.org
Tue Apr 21 16:04:24 PDT 2009


Author: kris
Date: 2009-04-21 16:04:24 -0700 (Tue, 21 Apr 2009)
New Revision: 3835

Modified:
   pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.cpp
   pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.h
   pcbsd/trunk/SystemUpdaterTray/UpdaterTray.cpp
   pcbsd/trunk/SystemUpdaterTray/UpdaterTray.h
Log:

Bugfixed overloading our FileWatcher in SystemUpdater Tray



Modified: pcbsd/trunk/SystemUpdaterTray/UpdaterTray.cpp
===================================================================
--- pcbsd/trunk/SystemUpdaterTray/UpdaterTray.cpp	2009-04-21 20:27:35 UTC (rev 3834)
+++ pcbsd/trunk/SystemUpdaterTray/UpdaterTray.cpp	2009-04-21 23:04:24 UTC (rev 3835)
@@ -121,10 +121,10 @@
    connect(fileWatcher, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledPBICheck() ));
 
    // Watch our trigger file, to see if any updates have been changed
-   fileWatcher = KDirWatch::self();
-   fileWatcher->addFile("/PCBSD/SystemUpdater/conf/.last-update");
+   fileWatcherSys = KDirWatch::self();
+   fileWatcherSys->addFile("/PCBSD/SystemUpdater/conf/.last-update");
 
-   connect(fileWatcher, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledSystemCheck() ));
+   connect(fileWatcherSys, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledSystemCheck() ));
   
 }
 

Modified: pcbsd/trunk/SystemUpdaterTray/UpdaterTray.h
===================================================================
--- pcbsd/trunk/SystemUpdaterTray/UpdaterTray.h	2009-04-21 20:27:35 UTC (rev 3834)
+++ pcbsd/trunk/SystemUpdaterTray/UpdaterTray.h	2009-04-21 23:04:24 UTC (rev 3835)
@@ -51,6 +51,7 @@
    KJob *sysFetchJob;
    KIO::TransferJob *checkPBIJob;
    KDirWatch *fileWatcher;
+   KDirWatch *fileWatcherSys;
    QString sysPatchsetTmpFile;
    bool useCustomTmpDir;
    QString customTmpDir;

Modified: pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.cpp
===================================================================
--- pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.cpp	2009-04-21 20:27:35 UTC (rev 3834)
+++ pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.cpp	2009-04-21 23:04:24 UTC (rev 3835)
@@ -121,10 +121,10 @@
    connect(fileWatcher, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledPBICheck() ));
 
    // Watch our trigger file, to see if any updates have been changed
-   fileWatcher = KDirWatch::self();
-   fileWatcher->addFile("/PCBSD/SystemUpdater/conf/.last-update");
+   fileWatcherSys = KDirWatch::self();
+   fileWatcherSys->addFile("/PCBSD/SystemUpdater/conf/.last-update");
 
-   connect(fileWatcher, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledSystemCheck() ));
+   connect(fileWatcherSys, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledSystemCheck() ));
   
 }
 

Modified: pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.h
===================================================================
--- pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.h	2009-04-21 20:27:35 UTC (rev 3834)
+++ pcbsd/trunk-current/SystemUpdaterTray/UpdaterTray.h	2009-04-21 23:04:24 UTC (rev 3835)
@@ -51,6 +51,7 @@
    KJob *sysFetchJob;
    KIO::TransferJob *checkPBIJob;
    KDirWatch *fileWatcher;
+   KDirWatch *fileWatcherSys;
    QString sysPatchsetTmpFile;
    bool useCustomTmpDir;
    QString customTmpDir;



More information about the Commits mailing list