summaryrefslogtreecommitdiff
path: root/src/downloadlistwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/downloadlistwidget.h')
-rw-r--r--src/downloadlistwidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/downloadlistwidget.h b/src/downloadlistwidget.h
index 80c4430a..fa7cc845 100644
--- a/src/downloadlistwidget.h
+++ b/src/downloadlistwidget.h
@@ -54,7 +54,7 @@ class DownloadListWidgetDelegate : public QItemDelegate
public:
- DownloadListWidgetDelegate(DownloadManager *manager, QTreeView *view, QObject *parent = 0);
+ DownloadListWidgetDelegate(DownloadManager *manager, bool metaDisplay, QTreeView *view, QObject *parent = 0);
~DownloadListWidgetDelegate();
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
@@ -105,6 +105,8 @@ private:
DownloadListWidget *m_ItemWidget;
DownloadManager *m_Manager;
+ bool m_MetaDisplay;
+
QLabel *m_NameLabel;
QLabel *m_SizeLabel;
QProgressBar *m_Progress;