Fix CQ highlighting

This commit is contained in:
Jordan Sherer 2018-08-08 17:38:50 -04:00
parent 27fe5a3d28
commit 4eba12b2a2

View File

@ -8861,7 +8861,7 @@ void MainWindow::displayBandActivity() {
textItem->setTextAlignment(flag); textItem->setTextAlignment(flag);
if (text.last().contains(QRegularExpression { if (text.last().contains(QRegularExpression {
"^(CQ|QRZ|DE)\\s" "\\b(CQCQCQ|BEACON)\\b"
})) { })) {
offsetItem->setBackground(QBrush(m_config.color_CQ())); offsetItem->setBackground(QBrush(m_config.color_CQ()));
ageItem->setBackground(QBrush(m_config.color_CQ())); ageItem->setBackground(QBrush(m_config.color_CQ()));