mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
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);
|
|
} |