change: change code style to Linux style except indent.
This commit is contained in:
@@ -20,18 +20,19 @@
|
||||
|
||||
#include "clitaskdialog.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
CLITaskDialog::CLITaskDialog(Task *task, QObject* parent) :
|
||||
CLIProgressDialog(task->GetTitle(), parent),
|
||||
task_(task)
|
||||
namespace olive
|
||||
{
|
||||
connect(task_, &Task::ProgressChanged, this, &CLITaskDialog::SetProgress);
|
||||
|
||||
CLITaskDialog::CLITaskDialog(Task *task, QObject *parent)
|
||||
: CLIProgressDialog(task->GetTitle(), parent)
|
||||
, task_(task)
|
||||
{
|
||||
connect(task_, &Task::ProgressChanged, this, &CLITaskDialog::SetProgress);
|
||||
}
|
||||
|
||||
bool CLITaskDialog::Run()
|
||||
{
|
||||
return task_->Start();
|
||||
return task_->Start();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -24,19 +24,18 @@
|
||||
#include "cli/cliprogress/cliprogressdialog.h"
|
||||
#include "task/task.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
class CLITaskDialog : public CLIProgressDialog
|
||||
namespace olive
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CLITaskDialog(Task *task, QObject* parent = nullptr);
|
||||
|
||||
bool Run();
|
||||
class CLITaskDialog : public CLIProgressDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
CLITaskDialog(Task *task, QObject *parent = nullptr);
|
||||
|
||||
bool Run();
|
||||
|
||||
private:
|
||||
Task* task_;
|
||||
|
||||
Task *task_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user