fix console log view

This commit is contained in:
2026-11-17 12:47:54 +03:00
parent d162ce8759
commit 1405620757
8 changed files with 25 additions and 6 deletions

View File

@@ -67,9 +67,8 @@ void UpdateManager::yay(const QString& askpass)
return;
}
m_update_log.clear();
m_update_output.clear();
m_update_log_buffer.clear();
emit console_clear();
emit update_log_changed();
emit add_log_line(m_package_manager + QStringLiteral(": update started"));

View File

@@ -41,5 +41,6 @@ class UpdateManager : public QObject
void set_updating_flag(bool updated, bool updating);
void append_update_log(const QByteArray& chunk);
void add_log_line(const QString& line);
void console_clear();
};