libnotificationmanager: Fix displaying item-based jobs

The logic was all there but we were not emitting when the text would
change, which would then never reflect on the UI.

BUG: 457203
wilder-5.26
Aleix Pol 4 years ago committed by Aleix Pol Gonzalez
parent 2bf1393445
commit c000092088
  1. 2
      libnotificationmanager/job.cpp

@ -20,7 +20,9 @@ Job::Job(uint id, QObject *parent)
// These properties are used in generating the pretty job text // These properties are used in generating the pretty job text
connect(d, &JobPrivate::infoMessageChanged, this, &Job::textChanged); connect(d, &JobPrivate::infoMessageChanged, this, &Job::textChanged);
connect(this, &Job::processedFilesChanged, this, &Job::textChanged); connect(this, &Job::processedFilesChanged, this, &Job::textChanged);
connect(this, &Job::processedItemsChanged, this, &Job::textChanged);
connect(this, &Job::totalFilesChanged, this, &Job::textChanged); connect(this, &Job::totalFilesChanged, this, &Job::textChanged);
connect(this, &Job::totalItemsChanged, this, &Job::textChanged);
connect(this, &Job::descriptionValue1Changed, this, &Job::textChanged); connect(this, &Job::descriptionValue1Changed, this, &Job::textChanged);
connect(this, &Job::descriptionValue2Changed, this, &Job::textChanged); connect(this, &Job::descriptionValue2Changed, this, &Job::textChanged);
connect(this, &Job::destUrlChanged, this, &Job::textChanged); connect(this, &Job::destUrlChanged, this, &Job::textChanged);

Loading…
Cancel
Save