diff options
author | Arno <arno@disconnect.de> | 2017-12-27 09:28:07 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-12-27 09:28:07 +0100 |
commit | 2ad0d6e01b50237a19fcb93f543941318ea1172e (patch) | |
tree | 69640b414f22f865471ea0a861c4ade56e0f4462 | |
parent | 2c9d62f8687e60a4f7663ce88c5395a75c11d809 (diff) | |
download | SheMov-2ad0d6e01b50237a19fcb93f543941318ea1172e.tar.gz SheMov-2ad0d6e01b50237a19fcb93f543941318ea1172e.tar.bz2 SheMov-2ad0d6e01b50237a19fcb93f543941318ea1172e.zip |
Rip out copy path options
Honestly, I have no idea what it was good for once. The class/file using
it is long gone, but I forgot to remove the configuration options.
Unfortunately my git-foo isn't good enough to figure out what happened
when.
Well, goodbye!
-rw-r--r-- | configurationdialog.cpp | 18 | ||||
-rw-r--r-- | configurationdialog.h | 2 |
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; |