aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-19 17:55:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-19 17:55:04 +0200
commite716a44604dcfe0ed57d278cd4d2597bf328de03 (patch)
treeb0ddb57cbca3c4031cf8741690d78bd808e42090 /src/mainwindow.hpp
parent1eec0c9fa22e86225691e7892e9219e7d17d5c42 (diff)
downloadkristall-e716a44604dcfe0ed57d278cd4d2597bf328de03.tar.gz
Fixes non-updating status bar, fixes bug in the mime parser.
Diffstat (limited to 'src/mainwindow.hpp')
-rw-r--r--src/mainwindow.hpp6
1 files changed, 5 insertions, 1 deletions
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;