~ubuntu-branches/ubuntu/oneiric/muon/oneiric

« back to all changes in this revision

Viewing changes to installer/ApplicationModel/ApplicationModel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2011-02-17 13:14:28 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110217131428-23qtgy4967llczwh
Tags: 1.1.1-0ubuntu1
* New upstream bugfix release
* Update the Homepage field in debian/control to the new projects.kde.org
  home page.
* Update the upstream name field in debian/copyright to "Muon Package
  Management Suite" to reflect branding changes.
* Update the Source field in debian/copyright to the new KDE Git repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
 
180
180
void ApplicationModel::updateTransactionProgress(Transaction *trans, int progress)
181
181
{
 
182
    if (!m_appBackend->transactions().contains(trans)) {
 
183
        return;
 
184
    }
182
185
    m_runningTransactions[trans] = progress;
183
186
 
184
187
    emit dataChanged(index(m_apps.indexOf(trans->application()), 0),
189
192
{
190
193
    Q_UNUSED(event);
191
194
 
 
195
    if (!m_appBackend->transactions().contains(trans)) {
 
196
        return;
 
197
    }
 
198
 
192
199
    if (trans != 0) {
193
200
        emit dataChanged(index(m_apps.indexOf(trans->application()), 0),
194
201
                         index(m_apps.indexOf(trans->application()), 0));