Changeset 91809be


Ignore:
Timestamp:
11/29/13 02:12:23 (12 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
88cdb0d
Parents:
742b4e3
Message:

Sys update details widget fixes

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

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-updatecenter/syscontroller.cpp

    r742b4e3 r91809be  
     1/************************************************************************** 
     2*   Copyright (C) 2013- by Yuri Momotyuk                                   * 
     3*   yurkis@gmail.com                                                      * 
     4*                                                                         * 
     5*   Permission is hereby granted, free of charge, to any person obtaining * 
     6*   a copy of this software and associated documentation files (the       * 
     7*   "Software"), to deal in the Software without restriction, including   * 
     8*   without limitation the rights to use, copy, modify, merge, publish,   * 
     9*   distribute, sublicense, and/or sell copies of the Software, and to    * 
     10*   permit persons to whom the Software is furnished to do so, subject to * 
     11*   the following conditions:                                             * 
     12*                                                                         * 
     13*   The above copyright notice and this permission notice shall be        * 
     14*   included in all copies or substantial portions of the Software.       * 
     15*                                                                         * 
     16*   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       * 
     17*   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    * 
     18*   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.* 
     19*   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR     * 
     20*   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * 
     21*   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * 
     22*   OTHER DEALINGS IN THE SOFTWARE.                                       * 
     23***************************************************************************/ 
     24 
    125#include "syscontroller.h" 
    226#include "utils.h" 
     
    5276    mvUpdatesToApply= selectedUpdates; 
    5377    mCurrentUpdate= 0; 
     78    launchUpdate(); 
    5479} 
    5580 
  • src-qt4/pc-updatecenter/sysdetailswidget.cpp

    r742b4e3 r91809be  
    5959    connect(mUpdateController, SIGNAL(stateChanged(CAbstractUpdateController::EUpdateControllerState)), 
    6060            this, SLOT(slotControllerStateChanged(CAbstractUpdateController::EUpdateControllerState))); 
     61    connect(mUpdateController, SIGNAL(logLinePresent(QString)), 
     62                this, SLOT(slotControllerLogLine(QString))); 
    6163 
    6264    ui->sysUpdatesList->header()->resizeSection(0, 420); 
     
    139141} 
    140142 
     143void SysDetailsWidget::slotControllerLogLine(QString line) 
     144{ 
     145    ui->sysUpdateLog->append(line); 
     146} 
     147 
    141148void SysDetailsWidget::on_sysUpdatesList_itemSelectionChanged() 
    142149{ 
  • src-qt4/pc-updatecenter/sysdetailswidget.h

    re9c3453 r91809be  
    4747private slots: 
    4848    void slotControllerStateChanged(CAbstractUpdateController::EUpdateControllerState new_state); 
     49    void slotControllerLogLine(QString line); 
    4950     
    5051    void on_sysUpdatesList_itemSelectionChanged(); 
Note: See TracChangeset for help on using the changeset viewer.