Hide the screenshot message

This commit is contained in:
Jean-André Santoni 2016-12-01 20:32:13 +01:00
parent 2fc592bbe6
commit 41f1063da3

View File

@ -215,6 +215,7 @@ static bool screenshot_dump(
task->type = TASK_TYPE_BLOCKING; task->type = TASK_TYPE_BLOCKING;
task->state = state; task->state = state;
task->handler = task_screenshot_handler; task->handler = task_screenshot_handler;
if (!savestate)
task->title = strdup(msg_hash_to_str(MSG_TAKING_SCREENSHOT)); task->title = strdup(msg_hash_to_str(MSG_TAKING_SCREENSHOT));
task_queue_ctl(TASK_QUEUE_CTL_PUSH, task); task_queue_ctl(TASK_QUEUE_CTL_PUSH, task);