Cleanup from code review

This commit is contained in:
George Hilliard
2018-10-26 01:46:30 -05:00
parent 09275b5826
commit 8a6e0a7f19
2 changed files with 3 additions and 3 deletions

View File

@@ -775,7 +775,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady(rtengine::IImagefloat* img)
}
redraw ();
const bool queueRunning = (processing != nullptr);
const bool queueRunning = processing;
notifyListener (queueRunning);
return processing ? processing->job : nullptr;

View File

@@ -53,10 +53,10 @@ class BatchQueuePanel : public Gtk::VBox,
Gtk::HBox* bottomBox;
Gtk::HBox* topBox;
IdleRegister idle_register;
std::atomic<bool> qStartStopState;
IdleRegister idle_register;
public:
explicit BatchQueuePanel (FileCatalog* aFileCatalog);
~BatchQueuePanel();