Browse Source

Fix wrong type passed to arg()

adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
ee030cc4eb
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 9
      src/base/search/searchpluginmanager.cpp

9
src/base/search/searchpluginmanager.cpp

@ -518,11 +518,14 @@ 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…
Cancel
Save