Changeset a847f63


Ignore:
Timestamp:
11/15/13 07:27:46 (18 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
2ec77c7
Parents:
0ffa8c4
Message:

Add a check to the system updater tray for connetion errors and stop the update process/set the tray icon appropriately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-systemupdatertray/UpdaterTray.cpp

    r88de14c ra847f63  
    358358     QCoreApplication::processEvents(); 
    359359  } 
    360  
     360   
     361    //Make sure that we have a valid connection, otherwise stop the update process here 
     362    if(p.exitCode() != 0){ 
     363       programstatus = CHECK_FAILED; 
     364       contextMenuRefresh(); 
     365       displayTooltip(); 
     366       doingCheck=false; 
     367       return; 
     368    } 
     369     
    361370  while (p.canReadLine()) { 
    362371    line = p.readLine().simplified(); 
Note: See TracChangeset for help on using the changeset viewer.