summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-12-09 20:08:21 +0100
committerArno <am@disconnect.de>2014-12-09 20:08:21 +0100
commit4a94b0350254cf3604162d513cc560030e1e6ede (patch)
treea79c63957eb19bfa34d4d7f1d441b101211479e4 /archiveview.h
parent3adf6f859dd4d5df8e8fceacce74487814867e61 (diff)
downloadSheMov-4a94b0350254cf3604162d513cc560030e1e6ede.tar.gz
SheMov-4a94b0350254cf3604162d513cc560030e1e6ede.tar.bz2
SheMov-4a94b0350254cf3604162d513cc560030e1e6ede.zip
Fix crash with metadata
Don't try to access non-present fields. Weed them out!
Diffstat (limited to 'archiveview.h')
-rw-r--r--archiveview.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/archiveview.h b/archiveview.h
index ffb4c0d..202e2f9 100644
--- a/archiveview.h
+++ b/archiveview.h
@@ -205,23 +205,15 @@ class MetadataEditorWidget : public QWidget {
void setMetadata(const QList<QVariant> &data);
QList<QVariant> metadata() const;
- public slots:
- void setEnabledAll(bool enabled);
-
signals:
void oldSelected(const QString &);
private:
QSpinBox *mReleaseYear;
- QComboBox *mSource;
- QComboBox *mRelGroup;
QLineEdit *mSubject;
- QLineEdit *mEncoderOpts;
- QSpinBox *mPasses;
QTextEdit *mComment;
QRadioButton *mTorrent;
QRadioButton *mUsenet;
- QLineEdit *mOldSizeLE;
QDate mAdded;
QList<QWidget*> mWidgets;
};