mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-02 00:52:43 +00:00
Fix wrong type passed to arg()
This commit is contained in:
parent
d52c6230e9
commit
ee030cc4eb
@ -518,10 +518,13 @@ void SearchPluginManager::parseVersionInfo(const QByteArray &info)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (numCorrectData < lines.size())
|
if (numCorrectData < lines.size()) {
|
||||||
emit checkForUpdatesFailed(tr("Incorrect update info received for %1 out of %2 plugins.").arg((lines.size() - numCorrectData), lines.size()));
|
emit checkForUpdatesFailed(tr("Incorrect update info received for %1 out of %2 plugins.")
|
||||||
else
|
.arg(QString::number(lines.size() - numCorrectData), QString::number(lines.size())));
|
||||||
|
}
|
||||||
|
else {
|
||||||
emit checkForUpdatesFinished(updateInfo);
|
emit checkForUpdatesFinished(updateInfo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SearchPluginManager::isUpdateNeeded(QString pluginName, PluginVersion newVersion) const
|
bool SearchPluginManager::isUpdateNeeded(QString pluginName, PluginVersion newVersion) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user