Update R2Task.cpp (#1790)

This commit is contained in:
karliss 2019-09-25 17:00:43 +03:00 committed by Florian Märkl
parent 91c6142ab8
commit 75e98cb05d

View File

@ -3,7 +3,7 @@
R2Task::R2Task(const QString &cmd, bool transient)
{
task = r_core_task_new(Core()->core_,
task = r_core_task_new(Core()->core(),
true,
cmd.toLocal8Bit().constData(),
static_cast<RCoreTaskCallback>(&R2Task::taskFinishedCallback),