mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Fix to last commit
This commit is contained in:
parent
a1157c78b2
commit
d354d7133e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue