summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'configurationdialog.cpp')
-rw-r--r--configurationdialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/configurationdialog.cpp b/configurationdialog.cpp
index 7e357f4..5f4f2c2 100644
--- a/configurationdialog.cpp
+++ b/configurationdialog.cpp
@@ -69,6 +69,9 @@ ConfigurationDialog::ConfigurationDialog(QWidget *parent, Qt::WindowFlags f) : S
mCoverPath = new QLineEdit;
mCoverPath->setCompleter(fsCompleter);
pathL->addRow(tr("Cover directory"), mCoverPath);
+ mUnpackPath = new QLineEdit;
+ mUnpackPath->setCompleter(fsCompleter);
+ pathL->addRow(tr("Unpack directory"), mUnpackPath);
pathBox->setLayout(pathL);
QVBoxLayout *pathLayout = new QVBoxLayout;
pathLayout->addWidget(pathBox);
@@ -464,6 +467,7 @@ void ConfigurationDialog::readSettings(){
mFfMpegPath->setText(s.value("paths/ffmpeg").toString());
mDvdMountPath->setText(s.value("paths/dvdmount").toString());
mCoverPath->setText(s.value("paths/coverpath").toString());
+ mUnpackPath->setText(s.value("paths/unpackpath").toString());
mExpensive->setChecked(s.value("ui/expensiveops", true).toBool());
//read pictures
@@ -526,6 +530,7 @@ void ConfigurationDialog::writeSettings(){
s.setValue("paths/dvdmount", mDvdMountPath->text());
}
s.setValue("paths/coverpath", mCoverPath->text());
+ s.setValue("paths/unpackpath", mUnpackPath->text());
s.setValue("ui/expensiveops", (mExpensive->checkState() == Qt::Checked));
//write icons