summaryrefslogtreecommitdiff
path: root/src/downloadlistwidgetcompact.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/downloadlistwidgetcompact.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/downloadlistwidgetcompact.h')
-rw-r--r--src/downloadlistwidgetcompact.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/downloadlistwidgetcompact.h b/src/downloadlistwidgetcompact.h
index 4d7f40de..c3cd5c11 100644
--- a/src/downloadlistwidgetcompact.h
+++ b/src/downloadlistwidgetcompact.h
@@ -54,7 +54,7 @@ class DownloadListWidgetCompactDelegate : public QItemDelegate
public:
- DownloadListWidgetCompactDelegate(DownloadManager *manager, QTreeView *view, QObject *parent = 0);
+ DownloadListWidgetCompactDelegate(DownloadManager *manager, bool metaDisplay, QTreeView *view, QObject *parent = 0);
~DownloadListWidgetCompactDelegate();
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
@@ -103,6 +103,8 @@ private:
DownloadListWidgetCompact *m_ItemWidget;
DownloadManager *m_Manager;
+ bool m_MetaDisplay;
+
QLabel *m_NameLabel;
QLabel *m_SizeLabel;
QProgressBar *m_Progress;