You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (results->findInColumn(i, qVariantFromValue<void*>(runner)) >= 0)
975
975
{
976
976
// TODO: Could offer to do the suggested things
977
-
QMessageBox::warning(this, APP_NAME, tr("The runner %1 %2 you want to delete is in the result list of the current event. Either close the event or delete the runner from the event first!").arg(runner->getFirstName()).arg(runner->getLastName()));
977
+
QMessageBox::warning(this, APP_NAME, tr("The runner %1 %2 you want to delete is in the result list of the current event. Either close the event or delete the runner from the event first!")
if (seriesScoringDB.openScoringReferencesRunner(runner))
983
984
{
984
985
// TODO: Could offer to do the suggested things
985
-
QMessageBox::warning(this, APP_NAME, tr("The runner %1 %2 you want to delete is still referenced by at least one open series scoring. Please remove all references first!").arg(runner->getFirstName()).arg(runner->getLastName()));
986
+
QMessageBox::warning(this, APP_NAME, tr("The runner %1 %2 you want to delete is still referenced by at least one open series scoring. Please remove all references first!")
QMessageBox::warning(nullptr, tr("Error"), tr("Error while loading series scoring: cannot find runner %1 %2 in runner database!").arg(first_name).arg(last_name));
161
+
QMessageBox::warning(nullptr, tr("Error"), tr("Error while loading series scoring: cannot find runner %1 %2 in runner database!").arg(first_name, last_name));
Copy file name to clipboardExpand all lines: src/runner.cpp
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,8 @@ bool RunnerDB::loadFromFile()
235
235
if (club)
236
236
current_runner->addClub(club);
237
237
else
238
-
QMessageBox::warning(nullptr, tr("Warning"), tr("Could not find club %1 of runner %2 %3 in the club database!").arg(ref.toString()).arg(current_runner->getFirstName()).arg(current_runner->getLastName()));
238
+
QMessageBox::warning(nullptr, tr("Warning"), tr("Could not find club %1 of runner %2 %3 in the club database!")
QMessageBox::warning(nullptr, tr("Warning"), tr("Could not find club %1 of runner %2 %3 in the club database!").arg(stream.attributes().value("name").toString()).arg(current_runner->getFirstName()).arg(current_runner->getLastName()));
248
+
QMessageBox::warning(nullptr, tr("Warning"), tr("Could not find club %1 of runner %2 %3 in the club database!")
0 commit comments