Changeset 18221a9ef61aa11ec5adaa28690516cb44257a36


Ignore:
Timestamp:
10/02/11 22:14:37 (8 months ago)
Author:
Luper Rouch <luper.rouch@…>
Children:
011e337903f128585ded468d9eb44af4da4ab308
Parents:
769c378f66d18dc35bcdc76339da83552f6404a4
git-committer:
Luper Rouch <luper.rouch@…> (10/02/11 22:14:37)
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyflu/pyflu/update/qt.py

    rd8e9cb2 r18221a9  
    1313from pyflu.update.remote import find_patches_groups 
    1414from pyflu.update.version import Version 
    15 from pyflu.qt.util import get_or_create_app 
    1615 
    1716 
     
    8180        pb.setValue(0) 
    8281        pb.setRange(0, length) 
    83         app = get_or_create_app() 
    84         app.processEvents() 
     82        QCoreApplication.processEvents() 
    8583 
    8684    def update_long_operation(self, index): 
    8785        pb = getattr(self, self.progress_bar_name) 
    8886        pb.setValue(index) 
    89         app = get_or_create_app() 
    90         app.processEvents() 
     87        QCoreApplication.processEvents() 
    9188 
    9289    def _download_next(self): 
Note: See TracChangeset for help on using the changeset viewer.