mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Proper fix to use an INI file instead of the registry on Windows
This commit is contained in:
parent
d354d7133e
commit
b9241ad5ad
27 changed files with 311 additions and 313 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue