mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
fix QByteArray::append(QString) deprecation in qt 5.15.1 (#4102)
This commit is contained in:
parent
bec02b4952
commit
02935be14f
6 changed files with 8 additions and 8 deletions
|
|
@ -143,9 +143,9 @@ QHash<QString, QString> QxtMailMessage::extraHeaders() const
|
|||
return qxt_d->extraHeaders;
|
||||
}
|
||||
|
||||
QString QxtMailMessage::extraHeader(const QString& key) const
|
||||
QByteArray QxtMailMessage::extraHeader(const QString& key) const
|
||||
{
|
||||
return qxt_d->extraHeaders[key.toLower()];
|
||||
return qxt_d->extraHeaders[key.toLower()].toLatin1();
|
||||
}
|
||||
|
||||
bool QxtMailMessage::hasExtraHeader(const QString& key) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue