mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Fix empty string parameter was omitted
`QProcess::splitCommand()` will omit empty strings like `""` so provide our own replacement. Closes #13124.
This commit is contained in:
parent
2ebdf6060d
commit
0802b6d506
5 changed files with 172 additions and 55 deletions
|
@ -61,6 +61,8 @@ namespace Utils::String
|
|||
std::optional<int> parseInt(const QString &string);
|
||||
std::optional<double> parseDouble(const QString &string);
|
||||
|
||||
QStringList splitCommand(const QString &command);
|
||||
|
||||
QString join(const QList<QStringView> &strings, QStringView separator);
|
||||
|
||||
QString fromDouble(double n, int precision);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue