mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:33:24 +00:00
core: correct QString arg problem
use report_error directly, instead of making a QString first, argument syntax are different (%s vs. %1) Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
4710502dc8
commit
738d3057da
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ void uploadDiveLogsDE::doUpload(bool selected, const QString &userid, const QStr
|
|||
|
||||
// Make zip file, with all dives, in divelogs.de format
|
||||
if (!prepareDives(selected, filename)) {
|
||||
err = tr("Failed to create uploadDiveLogsDE file %s\n").arg(filename);
|
||||
report_error(err.toUtf8());
|
||||
report_error(tr("Failed to create upload file %s\n").toUtf8(), qPrintable(filename));
|
||||
emit uploadFinish(false, err);
|
||||
timeout.stop();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue