minor fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user