summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-14 07:28:19 +0200
committerArno <am@disconnect.de>2013-09-14 07:28:19 +0200
commit19a7e82de5decb45caf07acc0d1161b1f05cb15b (patch)
treeba036f290965b58482abf8b415200457341f2e89 /configurationdialog.cpp
parentc115772c658ba1138d05ef6604bc36d4b6d96867 (diff)
downloadSheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.tar.gz
SheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.tar.bz2
SheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.zip
Get rid of FrameCache
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());