Revert "Use task_set_title"

This reverts commit 83b1bbe24774fa68f9e0086c4aebaa60bf5e4eee.
This commit is contained in:
twinaphex 2017-01-23 14:15:14 +01:00
parent 379ce5eb05
commit ee46e427ae
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ bool task_push_decompress(
snprintf(tmp, sizeof(tmp), "%s '%s'",
msg_hash_to_str(MSG_EXTRACTING), path_basename(source_file));
task_set_title(t, strdup(tmp));
t->title = strdup(tmp);
task_queue_ctl(TASK_QUEUE_CTL_PUSH, t);

View File

@ -293,7 +293,7 @@ void *task_push_http_transfer(const char *url, bool mute, const char *type,
snprintf(tmp, sizeof(tmp), "%s '%s'",
msg_hash_to_str(MSG_DOWNLOADING), path_basename(url));
task_set_title(t, tmp);
t->title = strdup(tmp);
task_queue_ctl(TASK_QUEUE_CTL_PUSH, t);