diff options
author | Arno <am@disconnect.de> | 2014-12-09 20:08:21 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-12-09 20:08:21 +0100 |
commit | 4a94b0350254cf3604162d513cc560030e1e6ede (patch) | |
tree | a79c63957eb19bfa34d4d7f1d441b101211479e4 /archiveview.h | |
parent | 3adf6f859dd4d5df8e8fceacce74487814867e61 (diff) | |
download | SheMov-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.h | 8 |
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; }; |