Changeset 7e41a70


Ignore:
Timestamp:
02/26/14 10:45:27 (6 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
24f4449
Parents:
9474a65
Message:

Fix the auto-update refresh problem after it is clicked. It flickers once, but at least it correctly shows the status of the auto-update for the app now.

Location:
src-qt4/pc-softwaremanager
Files:
3 edited

Legend:

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

    r316d4d3 r7e41a70  
    317317    }  
    318318  } 
     319  //If the installed app page is visible, be sure to update it too 
     320  if( ui->stackedWidget->currentWidget() == ui->page_install_details){ 
     321    updateInstallDetails(cDetails); 
     322  } 
    319323  slotUpdateSelectedPBI();; //Update the info boxes 
    320324  slotDisplayStats(); 
     
    334338  } 
    335339  ui->tool_install_performaction->setEnabled(chkd); 
    336   if(ui->stackedWidget->currentWidget() != ui->page_app){ 
     340  if(ui->stackedWidget->currentWidget() != ui->page_install_details){ 
    337341    cDetails.clear(); //Make sure this is cleared if not on the details page 
    338342  } 
     
    442446  } 
    443447  //Now force the info on the page to be updated in a moment (need time for database to update) 
    444   QTimer::singleShot(200, this, SLOT(on_tool_install_details_clicked()) ); 
     448  //QTimer::singleShot(500, this, SLOT(on_tool_install_details_clicked()) ); 
    445449} 
    446450 
     
    926930} 
    927931 
    928 void MainUI::slotGoToCatClicked(QAction* act){ 
    929   slotGoToCategory(act->whatsThis());    
    930 } 
    931  
    932932void MainUI::slotGoToApp(QString appID){ 
    933933  qDebug() << "Show App:" << appID; 
  • src-qt4/pc-softwaremanager/mainUI.h

    r316d4d3 r7e41a70  
    9797  void slotGoToCatBrowser(); 
    9898  void slotGoToCategory(QString); 
    99   void slotGoToCatClicked(QAction* act); 
    10099  void slotGoToApp(QString); 
    101100  void slotUpdateAppDownloadButton(); 
  • src-qt4/pc-softwaremanager/pbiBackend.cpp

    r32be23f r7e41a70  
    11641164     lDownload.clear(); 
    11651165   }else if(ID == ProcessManager::OTHER){ 
     1166     //qDebug() << "Other Finished:" << cOther; 
     1167     //emit PBIStatusChange(cOther); 
    11661168     cOther.clear();        
    11671169   } 
Note: See TracChangeset for help on using the changeset viewer.