mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
14 lines
185 B
C++
14 lines
185 B
C++
|
|
#include "CommandTask.h"
|
|
|
|
CommandTask::CommandTask(const QString &cmd)
|
|
: cmd(cmd)
|
|
{
|
|
}
|
|
|
|
void CommandTask::runTask()
|
|
{
|
|
auto res = Core()->cmdTask(cmd);
|
|
emit finished(res);
|
|
}
|