|
|
@ -141,9 +141,9 @@ void Installer::cachedFetch(const QString &cache) { |
|
|
|
void Installer::readProgress() { |
|
|
|
void Installer::readProgress() { |
|
|
|
const QVector<QPair<QString, int>> stages = { |
|
|
|
const QVector<QPair<QString, int>> stages = { |
|
|
|
// prefix, weight in percentage
|
|
|
|
// prefix, weight in percentage
|
|
|
|
{tr("Receiving objects: "), 91}, |
|
|
|
{"Receiving objects: ", 91}, |
|
|
|
{tr("Resolving deltas: "), 2}, |
|
|
|
{"Resolving deltas: ", 2}, |
|
|
|
{tr("Updating files: "), 7}, |
|
|
|
{"Updating files: ", 7}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
auto line = QString(proc.readAllStandardError()); |
|
|
|
auto line = QString(proc.readAllStandardError()); |
|
|
|