Commit 7fc5d1a8 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fixed fqdn in alarm view

parent 019cf0f5
......@@ -44,7 +44,7 @@ QVariant MySqlModel::data(const QModelIndex &index, int role) const
QRegularExpressionMatch ma = re.match(s);
if(ma.capturedTexts().size() > 2) {
QString s = ma.capturedTexts().at(1);
s.contains('.') ? s = "[" + s.section('.', 0, 0) + "] " + ma.capturedTexts()[2] : s = s;
s.contains(".") ? s = "[" + s.section('.', 0, 0) + "] " + ma.capturedTexts()[2] : s = s + ma.capturedTexts()[2];
return s;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment