summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configurationdialog.cpp18
-rw-r--r--configurationdialog.h2
2 files changed, 0 insertions, 20 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));
diff --git a/configurationdialog.h b/configurationdialog.h
index cedc142..962397c 100644
--- a/configurationdialog.h
+++ b/configurationdialog.h
@@ -66,8 +66,6 @@ class ConfigurationDialog : public SmDialog {
QLineEdit *mDatabaseName;
QLineEdit *mDatabaseUsername;
QLineEdit *mDatabasePassword;
- QLineEdit *mWindowsDrive;
- QLineEdit *mStripPath;
QComboBox *mIconForFolder;
QComboBox *mIconForFile;
QComboBox *mIconForSeries;