mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
- Fix .qbittorrent folder not being created
This commit is contained in:
@@ -199,6 +199,7 @@ public:
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
settings.beginGroup(QString::fromUtf8("TransferListFilters"));
|
||||
QStringList customLabels = settings.value("customLabels", QStringList()).toStringList();
|
||||
comboLabel->addItem("");
|
||||
foreach(const QString& label, customLabels) {
|
||||
comboLabel->addItem(label);
|
||||
}
|
||||
@@ -327,6 +328,7 @@ public slots:
|
||||
}
|
||||
// Save savepath
|
||||
TorrentTempData::setSavePath(hash, savePath.path());
|
||||
qDebug("Torrent label is: %s", comboLabel->currentText().trimmed().toLocal8Bit().data());
|
||||
TorrentTempData::setLabel(hash, comboLabel->currentText().trimmed());
|
||||
// Save last dir to remember it
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
|
||||
Reference in New Issue
Block a user