mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
[Web UI] Fix max_ratio precision. Closes #4707
This commit is contained in:
parent
193913129f
commit
87dc9a4a18
3 changed files with 4 additions and 4 deletions
|
@ -969,7 +969,7 @@ void Preferences::setTrackersList(const QString &val)
|
|||
|
||||
qreal Preferences::getGlobalMaxRatio() const
|
||||
{
|
||||
return value("Preferences/Bittorrent/MaxRatio", -1).toDouble();
|
||||
return value("Preferences/Bittorrent/MaxRatio", -1).toReal();
|
||||
}
|
||||
|
||||
void Preferences::setGlobalMaxRatio(qreal ratio)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue