summaryrefslogtreecommitdiff
path: root/src/loglist.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-05 20:37:18 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-05 20:37:18 -0500
commitb7e51b65e832cfbd94789bc0cf3ab015a394aa92 (patch)
tree2a29b4320979d825618dc2677190679c18d43957 /src/loglist.cpp
parent03ee407c346845484629c2a6afef39a13f0b9a3d (diff)
removed bad minimum column width in the data tab
fixed crash in log when restart MO
Diffstat (limited to 'src/loglist.cpp')
-rw-r--r--src/loglist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loglist.cpp b/src/loglist.cpp
index af0e6768..28aae0ff 100644
--- a/src/loglist.cpp
+++ b/src/loglist.cpp
@@ -173,8 +173,8 @@ LogList::LogList(QWidget* parent)
this, &QWidget::customContextMenuRequested,
[&](auto&& pos){ onContextMenu(pos); });
- connect(model(), &LogModel::rowsInserted, [&]{ onNewEntry(); });
- connect(model(), &LogModel::dataChanged, [&]{ onNewEntry(); });
+ connect(model(), &LogModel::rowsInserted, this, [&]{ onNewEntry(); });
+ connect(model(), &LogModel::dataChanged, this, [&]{ onNewEntry(); });
m_timer.setSingleShot(true);
connect(&m_timer, &QTimer::timeout, [&]{ scrollToBottom(); });