From 8945f641f468e373b4d8d907bcc2f5be2922962e Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 4 Sep 2016 03:32:56 +0200 Subject: Display duration and num. of selected Files When selecting files in FileWidget, calculate the total duration and display it in the status bar. Also count the selected Files and show them. Update status bar on changing tabs. --- torrentwidget.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'torrentwidget.h') diff --git a/torrentwidget.h b/torrentwidget.h index 5b1852c..10a67d8 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -37,13 +37,11 @@ class TorrentWidget : public QWidget { void moveFiles(); void torrentInfo(); void searchFile(); + void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); protected: virtual void contextMenuEvent(QContextMenuEvent *e); - private slots: - void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); - private: void setupGui(); void readHeaderData(); -- cgit v1.2.3-70-g09d2