mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Avoid repeating the return type
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Utils
|
||||
QSslKey key {data, QSsl::Rsa};
|
||||
if (!key.isNull())
|
||||
return key;
|
||||
return QSslKey(data, QSsl::Ec);
|
||||
return {data, QSsl::Ec};
|
||||
}
|
||||
|
||||
bool isSSLKeyValid(const QByteArray &data)
|
||||
|
||||
Reference in New Issue
Block a user