Fix missing format argument in error message

This commit is contained in:
baldurk
2020-09-17 17:43:28 +01:00
parent 0ed941bec2
commit 381fdbe06b
+2 -1
View File
@@ -857,7 +857,8 @@ bool LiveCapture::saveCapture(Capture *cap, QString path)
{
RDDialog::critical(this, tr("No active replay context"),
tr("This capture is on remote host %1 and there is no active replay "
"context on that host.\n") +
"context on that host.\n")
.arg(m_Hostname) +
tr("Without an active replay context the capture cannot be saved, "
"try switching to a replay context on %1.")
.arg(m_Hostname));