summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-03-17 13:52:46 +0100
committerArno <am@disconnect.de>2013-03-17 13:52:46 +0100
commit0e3076bfda34c93986c7197c4e0c35bc0860f91e (patch)
treecdbef27603e0ce07765ff40d28c4b5ba919de6c1 /configurationdialog.cpp
parent89946d85a39f3c0b5ea87c887340b4781b6b2900 (diff)
downloadSheMov-0e3076bfda34c93986c7197c4e0c35bc0860f91e.tar.gz
SheMov-0e3076bfda34c93986c7197c4e0c35bc0860f91e.tar.bz2
SheMov-0e3076bfda34c93986c7197c4e0c35bc0860f91e.zip
Remove markAsSeen
Wasn't used anyway, dropped DB-Table seen also.
Diffstat (limited to 'configurationdialog.cpp')
-rw-r--r--configurationdialog.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/configurationdialog.cpp b/configurationdialog.cpp
index 015a33a..d963d3c 100644
--- a/configurationdialog.cpp
+++ b/configurationdialog.cpp
@@ -270,16 +270,6 @@ ConfigurationDialog::ConfigurationDialog(QWidget *parent, Qt::WindowFlags f) : S
QWidget *colorsWidget = new QWidget;
QGridLayout *colorGrid = new QGridLayout;
QSignalMapper *colorMapper = new QSignalMapper(this);
- QLabel *colorl1 = new QLabel(tr("Files marked as seen"));
- mSeenColor = new QLabel;
- mSeenColor->setFrameStyle(QFrame::Sunken | QFrame::Panel);
- mSeenColor->setScaledContents(true);
- mSeenButton = new QPushButton(tr("Choose..."));
- colorGrid->addWidget(colorl1, 0, 0);
- colorGrid->addWidget(mSeenColor, 0, 1);
- colorGrid->addWidget(mSeenButton, 0, 2);
- colorMapper->setMapping(mSeenButton, mSeenColor);
- connect(mSeenButton, SIGNAL(clicked()), colorMapper, SLOT(map()));
QLabel *colorl2 = new QLabel(tr("Files in clipboard"));
mClipboardColor = new QLabel;
mClipboardColor->setFrameStyle(QFrame::Sunken | QFrame::Panel);
@@ -465,8 +455,6 @@ void ConfigurationDialog::readSettings(){
mDatabasePassword->setText(s.value("database/dbpass").toString());
//read colors
- QVariant seen = s.value("ui/seencolor", QVariant(QColor(Qt::red)));
- mColors.insert(mSeenColor, seen.value<QColor>());
QVariant clip = s.value("ui/clipcolor", QVariant(QColor(Qt::darkBlue)));
mColors.insert(mClipboardColor, clip.value<QColor>());
QVariant base = s.value("ui/basecolor", qApp->palette().base().color());
@@ -552,7 +540,6 @@ void ConfigurationDialog::writeSettings(){
mMovieConfig->writeSettings();
//write colors
- s.setValue("ui/seencolor", mColors.value(mSeenColor));
s.setValue("ui/clipcolor", mColors.value(mClipboardColor));
s.setValue("ui/basecolor", mColors.value(mBaseColor));
s.setValue("ui/alternatecolor", mColors.value(mAlternateBaseColor));