Performance improvement on ARM

This commit is contained in:
Christophe Dumez
2011-01-25 17:01:09 +00:00
parent dfcdb18b41
commit 5c8dd9f0fb
17 changed files with 36 additions and 36 deletions

View File

@@ -546,11 +546,11 @@ public:
setValue(QString::fromUtf8("Preferences/Bittorrent/Encryption"), val);
}
float getMaxRatio() const {
qreal getMaxRatio() const {
return value(QString::fromUtf8("Preferences/Bittorrent/MaxRatio"), -1).toDouble();
}
void setMaxRatio(float ratio) {
void setMaxRatio(qreal ratio) {
setValue(QString::fromUtf8("Preferences/Bittorrent/MaxRatio"), ratio);
}