Age | Commit message (Collapse) | Author |
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
By now, it's a recurring pattern of wanting to restrict aborting in
certain situations. This avoids further code duplication, and adds a
signal that external users can hook up to to respond to such change.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
This makes it possible to run a task in another thread.
I added a variable to toggle debug prints because they seem to trigger
an assertion on Qt internals when the task in on another thread. Of
course, this isn't awesome, but can wait until we improve our logging.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
|
|
|
|
Also remove some unused imports
|
|
Also sets up correctly the status connections
|
|
Since now we're inheriting from Task, some signals can be reused.
|
|
This also reduces some code duplication by using some Task logic in
NetAction.
|
|
|
|
This puts all mod downloading tasks inside a SequentialTask, which is,
for more than one task, a multi step task. This is handled by the
ProgressDialog by showing both the global progress of tasks executed,
and the individual progress of each of them.
|
|
|
|
|