mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Correctly migrate settings/rss/usage stats in macOS. Closes #6041.
This commit is contained in:
parent
87a3a67668
commit
33ae1a7bee
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ bool upgrade(bool ask = true)
|
|||
void migratePlistToIni(const QString &application)
|
||||
{
|
||||
QIniSettings iniFile("qBittorrent", application);
|
||||
if (iniFile.allKeys().isEmpty()) return; // We copy the contents of plist, only if inifile does not exist(is empty).
|
||||
if (!iniFile.allKeys().isEmpty()) return; // We copy the contents of plist, only if inifile does not exist(is empty).
|
||||
|
||||
QSettings *plistFile = new QSettings("qBittorrent", application);
|
||||
plistFile->setFallbacksEnabled(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue