summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'configurationdialog.cpp')
-rw-r--r--configurationdialog.cpp14
1 files changed, 0 insertions, 14 deletions
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());