From e716a44604dcfe0ed57d278cd4d2597bf328de03 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Fri, 19 Jun 2020 17:55:04 +0200 Subject: Fixes non-updating status bar, fixes bug in the mime parser. --- src/mainwindow.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.hpp') diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp index f0c64ae..7f58034 100644 --- a/src/mainwindow.hpp +++ b/src/mainwindow.hpp @@ -12,6 +12,8 @@ #include "elidelabel.hpp" +#include "browsertab.hpp" + QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE @@ -72,7 +74,7 @@ private slots: void on_actionAdd_to_favourites_triggered(); - void on_tab_fileLoaded(qint64 fileSize, QString const & mime, int msec); + void on_tab_fileLoaded(DocumentStats const & stats); void on_focus_inputbar(); @@ -89,6 +91,8 @@ private slots: private: void reloadTheme(); + void setFileStatus(DocumentStats const & stats); + public: QApplication * application; DocumentStyle current_style; -- cgit v1.2.3