fixed unneccessssary connected message and stretching in the highlights

settings
This commit is contained in:
fourtf 2018-05-07 00:47:35 +02:00
parent 1381214911
commit f695a41c6c
2 changed files with 4 additions and 2 deletions

View file

@ -68,8 +68,8 @@ void AbstractIrcServer::connect()
this->readConnection->open(); this->readConnection->open();
} }
this->onConnected(); // this->onConnected();
// this->connected.invoke(); // possbile event: started to connect
} }
void AbstractIrcServer::disconnect() void AbstractIrcServer::disconnect()

View file

@ -49,6 +49,8 @@ HighlightingPage::HighlightingPage()
view->setTitles({"Pattern", "Flash taskbar", "Play sound", "Regex"}); view->setTitles({"Pattern", "Flash taskbar", "Play sound", "Regex"});
view->getTableView()->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); view->getTableView()->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
view->getTableView()->horizontalHeader()->setSectionResizeMode(
0, QHeaderView::Stretch);
// fourtf: make class extrend BaseWidget and add this to dpiChanged // fourtf: make class extrend BaseWidget and add this to dpiChanged
QTimer::singleShot(1, [view] { QTimer::singleShot(1, [view] {