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/downloadlistwidget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/downloadlistwidget.h') 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; -- cgit v1.3.1