GH-1927 Add more specific task status logging
* Tasks are now described by class name and object name (or memory address). * Tasks starts are logged. * Aborted tasks are now treated just as the other cases.
This commit is contained in:
@ -30,7 +30,10 @@ class MULTIMC_LOGIC_EXPORT NetJob : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit NetJob(QString job_name) : Task(), m_job_name(job_name) {}
|
||||
explicit NetJob(QString job_name) : Task()
|
||||
{
|
||||
setObjectName(job_name);
|
||||
}
|
||||
virtual ~NetJob() {}
|
||||
|
||||
bool addNetAction(NetActionPtr action);
|
||||
@ -77,7 +80,6 @@ private:
|
||||
qint64 total_progress = 1;
|
||||
int failures = 0;
|
||||
};
|
||||
QString m_job_name;
|
||||
QList<NetActionPtr> downloads;
|
||||
QList<part_info> parts_progress;
|
||||
QQueue<int> m_todo;
|
||||
|
Reference in New Issue
Block a user