diff options
author | Arno <arno@disconnect.de> | 2022-04-16 12:50:41 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2022-04-16 12:50:41 +0200 |
commit | 8335bd7751656c72aa5457013a6b09dbec1a6405 (patch) | |
tree | fe2cf85294a4e099222a751f6542826521793f9d /torrentwidget.h | |
parent | c6b7fe4a6294e23bf04ff71799e5474ebe1d7875 (diff) | |
download | ShemovCleaner-8335bd7751656c72aa5457013a6b09dbec1a6405.tar.gz ShemovCleaner-8335bd7751656c72aa5457013a6b09dbec1a6405.tar.bz2 ShemovCleaner-8335bd7751656c72aa5457013a6b09dbec1a6405.zip |
When a torrent file is parseable, show the first filename in the view.
Diffstat (limited to 'torrentwidget.h')
-rw-r--r-- | torrentwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/torrentwidget.h b/torrentwidget.h index 004380c..4ba7cdc 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -20,8 +20,8 @@ class TorrentWidget : public QWidget { Q_OBJECT public: enum CustomRoles { PresentRole = Qt::UserRole + 1, FullPathRole = Qt::UserRole + 2, CreatedRole = Qt::UserRole + 3 }; - enum { ColumnCount = 3 }; - enum Columns { IconColumn = 0, NameColumn = 1, CreatedColumn = 2 }; + enum { ColumnCount = 4 }; + enum Columns { IconColumn = 0, NameColumn = 1, ContentColumn = 2, CreatedColumn = 3 }; enum Present { NotPresent = 0, Present = 1 }; TorrentWidget(QWidget *parent = 0); QMenuBar *menuBar() { return mMenuBar; } |