remove run()-methode as not a thread anymore.
This commit is contained in:
@@ -429,12 +429,6 @@ void Worker::stopProgressLoop() {
|
||||
displayProgressInMainWindow(MainWindow::STOP_PROGRESS_LOOP);
|
||||
}
|
||||
|
||||
//static std::once_flag once;
|
||||
//void Worker::run() {
|
||||
// user should not start the update process several times
|
||||
// std::call_once(once, &Worker::privateUpdate, this);
|
||||
//}
|
||||
|
||||
bool Worker::isRepositoryCorrupted() {
|
||||
QDir customerRepository(m_customerRepository);
|
||||
if (customerRepository.exists()) {
|
||||
|
@@ -406,9 +406,6 @@ private:
|
||||
hwinf *m_hw = nullptr;
|
||||
UPDATE_STEP m_lastFailedUpdateStep = UPDATE_STEP::NONE;
|
||||
|
||||
protected:
|
||||
virtual void run();
|
||||
|
||||
public:
|
||||
UPDATE_STEP lastFailedUpdateStep() const {
|
||||
return m_lastFailedUpdateStep;
|
||||
|
Reference in New Issue
Block a user