示例#1
0
文件: check.py 项目: MarioJC/calibre
 def fix_errors(self, container, errors):
     with BusyCursor():
         self.show_busy(_('Running fixers, please wait...'))
         QApplication.processEvents()
         changed = fix_errors(container, errors)
     self.run_checks(container)
     return changed
示例#2
0
文件: check.py 项目: yzz-00/calibre
 def fix_errors(self, container, errors):
     with BusyCursor():
         self.show_busy(_('Running fixers, please wait...'))
         QApplication.processEvents()
         changed = fix_errors(container, errors)
     self.run_checks(container)
     return changed
示例#3
0
文件: check.py 项目: 089git/calibre
 def fix_errors(self, container, errors):
     from calibre.gui2.tweak_book.boss import BusyCursor
     with BusyCursor():
         self.show_busy(_('Running fixers, please wait...'))
         QApplication.processEvents()
         changed = fix_errors(container, errors)
     self.run_checks(container)
     return changed
示例#4
0
文件: check.py 项目: kmshi/calibre
 def fix_errors(self, container, errors):
     from calibre.gui2.tweak_book.boss import BusyCursor
     with BusyCursor():
         self.show_busy(_('Running fixers, please wait...'))
         QApplication.processEvents()
         changed = fix_errors(container, errors)
     self.run_checks(container)
     return changed