mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improved the job dispatch system. Now after a job has completed, it remains in the list and you can view any output from it, by double clicking the list entry.
This commit is contained in:
parent
d61e8e057d
commit
4671d9695f
@ -246,6 +246,9 @@ class JobManager(QAbstractTableModel):
|
|||||||
@param kwargs: The keyword arguments to pass to callable
|
@param kwargs: The keyword arguments to pass to callable
|
||||||
'''
|
'''
|
||||||
desc = kwargs.pop('job_description', '')
|
desc = kwargs.pop('job_description', '')
|
||||||
|
if args and hasattr(args[0], 'append') and '--verbose' not in args[0]:
|
||||||
|
args[0].append('--verbose')
|
||||||
|
print args
|
||||||
priority = self.PRIORITY[str(QSettings().value('conversion job priority',
|
priority = self.PRIORITY[str(QSettings().value('conversion job priority',
|
||||||
QVariant('Normal')).toString())]
|
QVariant('Normal')).toString())]
|
||||||
job = self.create_job(ConversionJob, desc, slot, priority,
|
job = self.create_job(ConversionJob, desc, slot, priority,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user