summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'configurationdialog.cpp')
-rw-r--r--configurationdialog.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/configurationdialog.cpp b/configurationdialog.cpp
index 6ac25ff..392867e 100644
--- a/configurationdialog.cpp
+++ b/configurationdialog.cpp
@@ -81,20 +81,6 @@ ConfigurationDialog::ConfigurationDialog(QWidget *parent, Qt::WindowFlags f) : S
pathLayout->addWidget(pathBox);
pathWidget->setLayout(pathLayout);
- //copy path options
- QGroupBox *copyBox = new QGroupBox(tr("Copy path options"));
- QFormLayout *copyL = new QFormLayout;
- mWindowsDrive = new QLineEdit;
- QRegExp pathValid("[a-z]{1}:");
- pathValid.setCaseSensitivity(Qt::CaseInsensitive);
- QRegExpValidator *pathValidator = new QRegExpValidator(pathValid, this);
- mWindowsDrive->setValidator(pathValidator);
- copyL->addRow(tr("Windows drive"), mWindowsDrive);
- mStripPath = new QLineEdit;
- copyL->addRow(tr("Strip from path"), mStripPath);
- copyBox->setLayout(copyL);
- pathLayout->addWidget(copyBox);
-
//expensive option
QGroupBox *expensiveBox = new QGroupBox(tr("Expensive file operations"));
QHBoxLayout *expensiveL = new QHBoxLayout;
@@ -485,8 +471,6 @@ void ConfigurationDialog::readSettings(){
mFfMpegPath->setText(s.value("paths/ffmpeg").toString());
mDvdMountPath->setText(s.value("paths/dvdmount").toString());
mCoverPath->setText(s.value("paths/coverpath").toString());
- mWindowsDrive->setText(s.value("paths/windowsdrive").toString());
- mStripPath->setText(s.value("paths/strippath").toString());
mExpensive->setChecked(s.value("ui/expensiveops", true).toBool());
//read pictures
@@ -548,8 +532,6 @@ void ConfigurationDialog::writeSettings(){
if(checkDvdPath()){
s.setValue("paths/dvdmount", mDvdMountPath->text());
}
- s.setValue("paths/windowsdrive", mWindowsDrive->text());
- s.setValue("paths/strippath", mStripPath->text());
s.setValue("paths/coverpath", mCoverPath->text());
s.setValue("ui/expensiveops", (mExpensive->checkState() == Qt::Checked));