Improve wordings in "Auto download torrent" section

This commit is contained in:
Chocobo1
2016-05-14 14:41:09 +08:00
committed by sledgehammer999
parent 105874613a
commit c1738f97f1
3 changed files with 7 additions and 7 deletions

View File

@@ -63,8 +63,8 @@ QWidget *ScanFoldersDelegate::createEditor(QWidget *parent, const QStyleOptionVi
QComboBox* editor = new QComboBox(parent);
editor->setFocusPolicy(Qt::StrongFocus);
editor->addItem(tr("Watch Folder"));
editor->addItem(tr("Default Folder"));
editor->addItem(tr("Same as monitored folder"));
editor->addItem(tr("Default save location"));
editor->addItem(tr("Browse..."));
if (index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION) {
editor->insertSeparator(3);
@@ -99,7 +99,7 @@ void ScanFoldersDelegate::setModelData(QWidget *editor, QAbstractItemModel *mode
model->setData(
index,
QFileDialog::getExistingDirectory(
0, tr("Choose save path"),
0, tr("Select save location"),
index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION ?
index.data().toString() :
BitTorrent::Session::instance()->defaultSavePath()),