diff options
| author | Brian Potchik <brian@vector35.com> | 2019-04-01 12:05:54 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2019-04-01 12:07:06 -0400 |
| commit | c17af471c48ea092434917c803f9c88fe91022a6 (patch) | |
| tree | de92dbce8d826eca6427eff0cc0ddc94097b2911 | |
| parent | d0bb54b229b8ffc19d1a41359b22eeae06fc77c0 (diff) | |
Repaint logview when changing tabs.
| -rw-r--r-- | ui/logview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/logview.h b/ui/logview.h index b8566ee7..5546db8a 100644 --- a/ui/logview.h +++ b/ui/logview.h @@ -65,6 +65,9 @@ public: virtual int columnCount(const QModelIndex& parent) const override; virtual QVariant data(const QModelIndex& i, int role) const override; virtual bool setData(const QModelIndex& i, const QVariant& value, int role) override; + +public Q_SLOTS: + void notifyDataChanged(); }; @@ -92,6 +95,9 @@ public: protected: bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +Q_SIGNALS: + void notifyDataChanged(); + public Q_SLOTS: void viewChanged(QWidget* frame); }; |
