Don't access job
in BatchQueue::saveBatchQueue()
(fixes #4183)
This commit is contained in:
parent
339c794359
commit
071e19bfd9
@ -248,7 +248,7 @@ bool BatchQueue::saveBatchQueue ()
|
||||
<< saveFormat.pngBits << '|' << saveFormat.pngCompression << '|'
|
||||
<< saveFormat.tiffBits << '|' << saveFormat.tiffUncompressed << '|'
|
||||
<< saveFormat.saveParams << '|' << entry->forceFormatOpts << '|'
|
||||
<< entry->job->fastPipeline() << '|'
|
||||
<< entry->fast_pipeline << '|'
|
||||
<< std::endl;
|
||||
}
|
||||
}
|
||||
|
@ -29,10 +29,19 @@
|
||||
bool BatchQueueEntry::iconsLoaded(false);
|
||||
Glib::RefPtr<Gdk::Pixbuf> BatchQueueEntry::savedAsIcon;
|
||||
|
||||
BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, int prevw, int prevh, Thumbnail* thm)
|
||||
: ThumbBrowserEntryBase(fname),
|
||||
opreview(nullptr), origpw(prevw), origph(prevh), opreviewDone(false),
|
||||
job(pjob), params(pparams), progress(0), outFileName(""), sequence(0), forceFormatOpts(false)
|
||||
BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, int prevw, int prevh, Thumbnail* thm) :
|
||||
ThumbBrowserEntryBase(fname),
|
||||
opreview(nullptr),
|
||||
origpw(prevw),
|
||||
origph(prevh),
|
||||
opreviewDone(false),
|
||||
job(pjob),
|
||||
params(pparams),
|
||||
progress(0),
|
||||
outFileName(""),
|
||||
sequence(0),
|
||||
forceFormatOpts(false),
|
||||
fast_pipeline(job->fastPipeline())
|
||||
{
|
||||
|
||||
thumbnail = thm;
|
||||
|
@ -53,6 +53,7 @@ public:
|
||||
int sequence;
|
||||
SaveFormat saveFormat;
|
||||
bool forceFormatOpts;
|
||||
bool fast_pipeline;
|
||||
|
||||
BatchQueueEntry (rtengine::ProcessingJob* job, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, int prevw, int prevh, Thumbnail* thm = nullptr);
|
||||
~BatchQueueEntry ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user