Change UI job's process() method to be protected, as it should have been

Also add some comments to the interface of Job class
This commit is contained in:
tamasmeszaros 2021-08-20 13:43:52 +02:00
parent 883f46662d
commit 6efea25478
5 changed files with 21 additions and 17 deletions

View file

@ -35,7 +35,9 @@ protected:
void prepare() override;
void on_exception(const std::exception_ptr &) override;
void process() override;
public:
ArrangeJob(std::shared_ptr<ProgressIndicator> pri, Plater *plater)
: PlaterJob{std::move(pri), plater}
@ -46,8 +48,6 @@ public:
return int(m_selected.size() + m_unprintable.size());
}
void process() override;
void finalize() override;
};