b979d0ce5d
Many refactors of the task system. Progress dialog now accepts generic ProgressProvider objects
11 lines
232 B
C++
11 lines
232 B
C++
#include "BaseUpdate.h"
|
|
|
|
BaseUpdate::BaseUpdate ( BaseInstance* inst, QObject* parent ) : Task ( parent )
|
|
{
|
|
m_inst = inst;
|
|
}
|
|
|
|
void BaseUpdate::updateDownloadProgress(qint64 current, qint64 total)
|
|
{
|
|
emit progress(current, total);
|
|
} |