From 19a7e82de5decb45caf07acc0d1161b1f05cb15b Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 14 Sep 2013 07:28:19 +0200 Subject: Get rid of FrameCache --- configurationdialog.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'configurationdialog.cpp') diff --git a/configurationdialog.cpp b/configurationdialog.cpp index b60bd8a..724b4cb 100644 --- a/configurationdialog.cpp +++ b/configurationdialog.cpp @@ -119,13 +119,6 @@ ConfigurationDialog::ConfigurationDialog(QWidget *parent, Qt::WindowFlags f) : S QLabel *miscl6 = new QLabel(tr("Opacity of hover window")); miscInputGrid->addWidget(miscl6, 0, 0); miscInputGrid->addWidget(mHoverOpacity, 0, 1); - QLabel *miscl7 = new QLabel(tr("Grab frame at ([hh:mm:ss])")); - mGrabFrameFrom = new QLineEdit; - QRegExp frameValid("\\d{2}:\\d{2}:\\d{2}"); - QRegExpValidator *frameValidator = new QRegExpValidator(frameValid, this); - mGrabFrameFrom->setValidator(frameValidator); - miscInputGrid->addWidget(miscl7, 1, 0); - miscInputGrid->addWidget(mGrabFrameFrom, 1, 1); QLabel *miscl8 = new QLabel(tr("Y cursor offset (hover)")); mCursorOffset = new QSpinBox; mCursorOffset->setMinimum(-100); @@ -427,10 +420,6 @@ void ConfigurationDialog::accept(){ QDialog::accept(); } -void ConfigurationDialog::setGrabFrameEnabled(bool enabled){ - mGrabFrameFrom->setEnabled(enabled); -} - void ConfigurationDialog::readSettings(){ QSettings s; @@ -459,8 +448,6 @@ void ConfigurationDialog::readSettings(){ // read misc mHoverPics->setChecked(s.value("ui/hoverpics", false).toBool()); mHoverOpacity->setValue(s.value("ui/hoveropacity", 10).toInt()); - mGrabFrameFrom->setText(s.value("ui/grabframe", "00:00:00").toString()); - mGrabFrameFrom->setEnabled(s.value("ui/hovermovies", false).toBool()); mAutoAddCovers->setChecked(s.value("ui/autoaddcovers", false).toBool()); mIconizeCovers->setChecked(s.value("ui/iconizecovers", false).toBool()); mCursorOffset->setValue(s.value("ui/cursoroffset", SmGlobals::instance()->cursorSize().height()).toInt()); @@ -553,7 +540,6 @@ void ConfigurationDialog::writeSettings(){ //write misc s.setValue("ui/hoverpics", (mHoverPics->checkState() == Qt::Checked)); s.setValue("ui/hoveropacity", mHoverOpacity->value()); - s.setValue("ui/grabframe", mGrabFrameFrom->text()); s.setValue("ui/autoaddcovers", (mAutoAddCovers->checkState() == Qt::Checked)); s.setValue("ui/iconizecovers", (mIconizeCovers->checkState() == Qt::Checked)); s.setValue("ui/cursoroffset", mCursorOffset->value()); -- cgit v1.2.3-70-g09d2