From f695a41c6c43ee7e36a1ef151b4753a9cabaaf7e Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 7 May 2018 00:47:35 +0200 Subject: [PATCH] fixed unneccessssary connected message and stretching in the highlights settings --- src/providers/irc/abstractircserver.cpp | 4 ++-- src/widgets/settingspages/highlightingpage.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/providers/irc/abstractircserver.cpp b/src/providers/irc/abstractircserver.cpp index aad9f8c79..070fd5e29 100644 --- a/src/providers/irc/abstractircserver.cpp +++ b/src/providers/irc/abstractircserver.cpp @@ -68,8 +68,8 @@ void AbstractIrcServer::connect() this->readConnection->open(); } - this->onConnected(); - // this->connected.invoke(); + // this->onConnected(); + // possbile event: started to connect } void AbstractIrcServer::disconnect() diff --git a/src/widgets/settingspages/highlightingpage.cpp b/src/widgets/settingspages/highlightingpage.cpp index 0a608c2c4..df8a0242b 100644 --- a/src/widgets/settingspages/highlightingpage.cpp +++ b/src/widgets/settingspages/highlightingpage.cpp @@ -49,6 +49,8 @@ HighlightingPage::HighlightingPage() view->setTitles({"Pattern", "Flash taskbar", "Play sound", "Regex"}); view->getTableView()->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); + view->getTableView()->horizontalHeader()->setSectionResizeMode( + 0, QHeaderView::Stretch); // fourtf: make class extrend BaseWidget and add this to dpiChanged QTimer::singleShot(1, [view] {