mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Proper fix to use an INI file instead of the registry on Windows
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QSettings>
|
||||
#include <QString>
|
||||
#include <QTemporaryFile>
|
||||
#include "qinisettings.h"
|
||||
|
||||
namespace {
|
||||
const int PathColumn = 0;
|
||||
@@ -181,7 +181,7 @@ int ScanFoldersModel::findPathData(const QString &path) const {
|
||||
return -1;
|
||||
}
|
||||
|
||||
void ScanFoldersModel::makePersistent(QSettings &settings) {
|
||||
void ScanFoldersModel::makePersistent(QIniSettings &settings) {
|
||||
QStringList paths;
|
||||
QList<QVariant> downloadInFolderInfo;
|
||||
foreach (const PathData* pathData, m_pathList) {
|
||||
|
||||
Reference in New Issue
Block a user