From 2db33523a1c8497657963a88f70fe1726cbf8fc9 Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 23 Apr 2014 23:59:30 +0200 Subject: - 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 --- src/downloadlistwidgetcompact.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/downloadlistwidgetcompact.h') 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; -- cgit v1.3.1