Skip to content

Commit

Permalink
Fixed #74 - eQSL is incorreclty handled when a callsign contains spec…
Browse files Browse the repository at this point in the history
…ial characters - / etc.
  • Loading branch information
foldynl committed Jun 5, 2022
1 parent 8574811 commit c601a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Eqsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ QString EQSL::QSLImageFilename(const QSqlRecord qso)

QString ret = QString("%1_%2_%3_eqsl.jpg").arg(time_start.toString("yyyyMMdd"),
qso.value("id").toString(),
qso.value("callsign").toString());
qso.value("callsign").toString().replace(QRegularExpression(QString::fromUtf8("[-`~!@#$%^&*()_—+=|:;<>«»,.?/{}\'\"]")),"_"));
qCDebug(runtime) << "EQSL Image Filename: " << ret;
return ret;
}
Expand Down

0 comments on commit c601a06

Please sign in to comment.