Unify inconsistent notifyListener() logic

Previously, this function required a `queueEmptied` bool, which I changed
to `queueRunning`.  But I goofed the logic on this bool; it should
always be "is `processing` nullptr."
This commit is contained in:
George Hilliard
2018-10-29 10:52:06 -05:00
parent 5cb42f29e3
commit 4a765cc91f
2 changed files with 7 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ protected:
Glib::ustring autoCompleteFileName (const Glib::ustring& fileName, const Glib::ustring& format);
Glib::ustring getTempFilenameForParams( const Glib::ustring &filename );
bool saveBatchQueue ();
void notifyListener (bool queueRunning);
void notifyListener ();
BatchQueueEntry* processing; // holds the currently processed image
FileCatalog* fileCatalog;