fix(cpn): Selection of sound packs in update process (#3848)

* chore(cpn): increase github REST api page size for sound packs

* chore(cpn): add selection mode parameter to chooser dialog

* chore(cpn): remove cli debug messages when progress dialog available

* chore(cpn): carve out filterAssets from setFilteredAssets and call new function

* fix(cpn): refactor update sounds asset filtering

* chore(cpn): move code block

* fix(cpn): remove trailing hyphen from default sounds asset filter
This commit is contained in:
Neil Horne
2023-09-07 21:23:02 +10:00
committed by GitHub
parent 73a4a2387e
commit fec64a964d
8 changed files with 46 additions and 95 deletions
+1 -4
View File
@@ -36,11 +36,8 @@ void UpdateStatus::reportProgress(QString text, QtMsgType type)
if (m_logLevel == QtDebugMsg ||
(m_logLevel == QtInfoMsg && type > QtDebugMsg) ||
(type < QtInfoMsg && type >= m_logLevel)) {
if (m_progress) {
if (m_progress)
m_progress->addMessage(text, type);
if (m_logLevel == QtDebugMsg)
qDebug() << text;
}
else
qDebug() << text;
}