Changeset 7131a79


Ignore:
Timestamp:
02/19/15 09:47:30 (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
releng/10.1.1
Children:
1e1f499
Parents:
bd465cb
git-author:
Ken Moore <ken@…> (02/19/15 09:39:35)
git-committer:
Ken Moore <ken@…> (02/19/15 09:47:30)
Message:

Ensure that the updates group is permanently disabled in the old Qt4 AppCafe?, and *if* the updates button is clicked have it launch pc-updatemanager instead.
This fixes an issue where the updates available message was shown if the AppCafe? errored out with no installed PBI's found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt5/pc-softwaremanager/mainUI.cpp

    r3c19b9d r7131a79  
    237237void MainUI::on_tool_start_updates_clicked(){ 
    238238  //Check for any pending/running processes first 
    239   if(PBI->safeToQuit()){ 
     239  // forcibly forward this on to the update manager 
     240  QProcess::startDetached("pc-updatemanager"); 
     241  return; 
     242  /*if(PBI->safeToQuit()){ 
    240243    //Get the update stats and ask for verification to start now 
    241244    QMessageBox MB(QMessageBox::Question, tr("Start Updates?"), tr("Are you ready to start performing updates?")+"\n\n"+tr("NOTE: Please close any running applications first!!"), QMessageBox::Yes | QMessageBox::No, this); 
     
    258261  }else{ 
    259262    QMessageBox::information(this, tr("Stand-Alone Update Procedure"), tr("The update cannot be run while other operations are pending. Please cancel them and try again.") ); 
    260   } 
     263  }*/ 
    261264} 
    262265 
     
    416419void MainUI::slotRefreshInstallTab(){ 
    417420  //Update the list of installed PBI's w/o clearing the list (loses selections) 
     421  ui->group_updates->setVisible(false); 
    418422   //Get the list we need (in order) 
    419423  QStringList installList = PBI->installedList(VISJAIL, ui->actionRaw_Inst_Packages->isChecked(), ui->actionShow_Orphan_Packages->isChecked()); 
Note: See TracChangeset for help on using the changeset viewer.