Commit 3d62a104 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use const'ref

parent 6a30c582
...@@ -34,7 +34,7 @@ AutocryptStorage::Ptr AutocryptStorage::self() ...@@ -34,7 +34,7 @@ AutocryptStorage::Ptr AutocryptStorage::self()
return mSelf; return mSelf;
} }
QString address2Filename(QByteArray addr) QString address2Filename(const QByteArray &addr)
{ {
const auto url = QUrl::toPercentEncoding(QString::fromUtf8(addr)); const auto url = QUrl::toPercentEncoding(QString::fromUtf8(addr));
return QString::fromLatin1(url + ".json"); return QString::fromLatin1(url + ".json");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment