1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-08-26 05:32:05 +00:00

Fix to last commit

This commit is contained in:
Christophe Dumez 2010-07-16 14:40:50 +00:00
parent a1157c78b2
commit d354d7133e

View File

@ -64,7 +64,8 @@ public:
} }
void setValue(const QString &key, const QVariant &val) { void setValue(const QString &key, const QVariant &val) {
key = key.replace("/", "\\"); if(format() == QSettings::NativeFormat)
key = key.replace("/", "\\");
QSettings::setValue(key, val); QSettings::setValue(key, val);
} }
#endif #endif