2024-12-04 19:37:52 +01:00
|
|
|
#pragma once
|
2022-11-05 22:32:43 +01:00
|
|
|
|
|
|
|
|
#include <QThread>
|
|
|
|
|
|
|
|
|
|
class MacUpdateThread : public QThread {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
bool manualUpdate;
|
|
|
|
|
|
|
|
|
|
virtual void run() override;
|
|
|
|
|
|
|
|
|
|
void info(const QString &title, const QString &text);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void Result(const QString &branch, bool manual);
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void infoMsg(const QString &title, const QString &text);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
MacUpdateThread(bool manual) : manualUpdate(manual) {}
|
|
|
|
|
};
|