mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
minor fixes
This commit is contained in:
parent
3e3cbf0415
commit
c2363e17e7
|
@ -40,6 +40,7 @@ void HighlightModel::afterInit()
|
|||
row[0]->setData("Your username (automatic)", Qt::DisplayRole);
|
||||
util::setBoolItem(row[1], getApp()->settings->enableHighlightTaskbar.getValue(), true, false);
|
||||
util::setBoolItem(row[2], getApp()->settings->enableHighlightSound.getValue(), true, false);
|
||||
row[3]->setFlags(0);
|
||||
this->insertCustomRow(row, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
, alert(_alert)
|
||||
, sound(_sound)
|
||||
, _isRegex(isRegex)
|
||||
, regex(_isRegex ? _pattern : "\b" + QRegularExpression::escape(_pattern) + "\b",
|
||||
, regex(_isRegex ? _pattern : "\\b" + QRegularExpression::escape(_pattern) + "\\b",
|
||||
QRegularExpression::CaseInsensitiveOption)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ EditableModelView::EditableModelView(QAbstractTableModel *_model)
|
|||
|
||||
// create layout
|
||||
QVBoxLayout *vbox = new QVBoxLayout(this);
|
||||
vbox->setMargin(0);
|
||||
vbox->addWidget(this->tableView);
|
||||
|
||||
// create button layout
|
||||
|
|
Loading…
Reference in a new issue