summaryrefslogtreecommitdiff
path: root/src/downloadlistwidget.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-04-23 23:59:30 +0200
committerTannin <devnull@localhost>2014-04-23 23:59:30 +0200
commit2db33523a1c8497657963a88f70fe1726cbf8fc9 (patch)
tree016b015087a64900db9787a2a3f3551128c43df3 /src/downloadlistwidget.h
parent540747177ae02c9431d33a2c3adc1f747b74b868 (diff)
- added an option to show meta info on downloads instead of filenames
- MO will now cancel if user tries to run MO vfs-injected - when saving the MO ini file it is now written to a tmp file first and then overwritten - updated to link against boost python 1.55
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;