From 4a94b0350254cf3604162d513cc560030e1e6ede Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 9 Dec 2014 20:08:21 +0100 Subject: Fix crash with metadata Don't try to access non-present fields. Weed them out! --- archiveview.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'archiveview.h') 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 &data); QList 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 mWidgets; }; -- cgit v1.2.3-70-g09d2