From d2e774d2fbb4250bc65ff81b542854e211b59f4c Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 28 Jul 2013 08:16:47 +0200 Subject: Move filetype delegate to delegate.* Missed this one the first time... --- archiveview.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'archiveview.h') diff --git a/archiveview.h b/archiveview.h index 6abb86f..c786b33 100644 --- a/archiveview.h +++ b/archiveview.h @@ -124,17 +124,6 @@ class ArchiveFilesProxy : public QSortFilterProxyModel { explicit ArchiveFilesProxy(QObject *parent = 0); }; -class FileTypeDelegate : public QStyledItemDelegate { - Q_OBJECT - public: - explicit FileTypeDelegate(QObject *parent = 0); - virtual QString displayText(const QVariant &value, const QLocale &locale) const; - virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const; - - private: - QHash mFiletypeMap; -}; - /* separate widget since we need it in NewMovieWizard * and editing genres, actors in the new ArchiveView */ -- cgit v1.2.3-70-g09d2