[PC-BSD Commits] r21960 - pcbsd/current/src-qt4/pc-mounttray

svn at pcbsd.org svn at pcbsd.org
Mon Mar 25 08:23:18 PDT 2013


Author: kenmoore
Date: 2013-03-25 15:23:18 +0000 (Mon, 25 Mar 2013)
New Revision: 21960

Modified:
   pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp
Log:
Another minor update to the pc-mounttray debugging output



Modified: pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp	2013-03-25 14:37:40 UTC (rev 21959)
+++ pcbsd/current/src-qt4/pc-mounttray/mountTray.cpp	2013-03-25 15:23:18 UTC (rev 21960)
@@ -191,12 +191,12 @@
   //all that is left in nsd is the new additions
 
   //Remove any devices that have been disconnected
-  if(DEBUG_MODE){ qDebug() << "Device Removals:" << rmList; }
+  if(DEBUG_MODE){ qDebug() << " -Device Removals:" << rmList; }
   for(int i=0; i<rmList.length(); i++){
     removeDevice(rmList[i]);
   }
   //Add any devices that have been connected
-  if(DEBUG_MODE){ qDebug() << "Device Additions:" << nsd; } 
+  if(DEBUG_MODE){ qDebug() << " -Device Additions:" << nsd; } 
   for(int i=0; i<nsd.length(); i++){
     //Check if it is a good device
     QString dlabel, dtype, dfs, dsize; //additional output info
@@ -217,7 +217,7 @@
   QStringList diskList;
   diskList << DCheck->devChildren("cd");
   diskList << DCheck->devChildren("acd");
-  if(DEBUG_MODE){ qDebug() << "Checking CD/DVD devices:" << diskList; }
+  if(DEBUG_MODE){ qDebug() << " -Checking CD/DVD devices:" << diskList; }
   for(int i=0; i<diskList.length(); i++){
     if( rmList.contains(diskList[i]) || nsd.contains(diskList[i]) ){
       continue; //do not double check a device that was just checked;	    



More information about the Commits mailing list