Changeset af47272


Ignore:
Timestamp:
08/05/13 07:03:45 (15 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
e674d0b, e46485b
Parents:
362a0b6
Message:

Clean up the debugging output for the mounttray

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-mounttray/mountTray.cpp

    r8f0462a raf47272  
    193193  QStringList nsd = DCheck->devChildren(""); 
    194194  //Remove all the currently managed devices 
    195   qDebug() << "Current Device List:" << nsd; 
     195  qDebug() << "Rescanning Device List:" << nsd; 
    196196  for(int i=0; i<deviceList.length(); i++){ 
    197197    QString dev = deviceList[i]->device.section("/",-1); 
    198     qDebug() << " - Check device:" << dev; 
     198    if(DEBUG_MODE){ qDebug() << " - Check device:" << dev; } 
    199199    int ni = nsd.indexOf(dev); 
    200200    if(ni == -1){ 
    201201      //Device Removed 
    202       qDebug() << " - Device no longer connected"; 
     202      if(DEBUG_MODE){ qDebug() << " - Device no longer connected:" << dev; } 
    203203      removeDevice(dev); 
    204204      i--; 
     
    208208        QString ja, jb, jc, jd; //junk variables 
    209209        if( !DCheck->devInfo(dev,&ja,&jb,&jc,&jd) ){ 
    210           qDebug() << " - Device no longer valid"; 
     210          if(DBUG_MODE){ qDebug() << " - Device no longer valid:" << dev; } 
    211211          //no longer valid device 
    212212          removeDevice(dev); 
Note: See TracChangeset for help on using the changeset viewer.