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:
Kovid Goyal 2008-01-30 06:47:39 +00:00
parent d61e8e057d
commit 4671d9695f

View File

@ -246,6 +246,9 @@ class JobManager(QAbstractTableModel):
@param kwargs: The keyword arguments to pass to callable
'''
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',
QVariant('Normal')).toString())]
job = self.create_job(ConversionJob, desc, slot, priority,