fix some struct and error
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <QProcess>
|
||||
#include <QVariantList>
|
||||
#include <QTemporaryDir>
|
||||
#include <QTimer>
|
||||
|
||||
class UpdateManager : public QObject
|
||||
{
|
||||
@@ -30,15 +29,9 @@ class UpdateManager : public QObject
|
||||
|
||||
private:
|
||||
QString m_package_manager = "yay";
|
||||
QByteArray m_update_output;
|
||||
QStringList m_update_log;
|
||||
bool m_update_timedout = false;
|
||||
QString m_update_log_buffer;
|
||||
|
||||
signals:
|
||||
void finished(bool ok, QString reason = "");
|
||||
void packages_ready(QVariantList packages);
|
||||
void update_log_changed();
|
||||
void set_updating_flag(bool updated, bool updating);
|
||||
void append_update_log(const QByteArray& chunk);
|
||||
void add_log_line(const QString& line);
|
||||
|
||||
Reference in New Issue
Block a user