mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
Revise code
This commit is contained in:
parent
7eaaa8f92a
commit
a9f99aed48
2 changed files with 18 additions and 22 deletions
|
@ -500,7 +500,7 @@ QString Utils::Misc::opensslVersionString()
|
|||
#else
|
||||
static const auto version {QString::fromLatin1(SSLeay_version(SSLEAY_VERSION))};
|
||||
#endif
|
||||
return QStringView(version).split(u' ', Qt::SkipEmptyParts).at(1).toString();
|
||||
return version.section(u' ', 1, 1);
|
||||
}
|
||||
|
||||
QString Utils::Misc::zlibVersionString()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue