Fixed truncated grid issue

This commit is contained in:
Jordan Sherer 2018-10-06 23:28:00 -04:00
parent 5e54b85fe0
commit 9d371c474a

View File

@ -10185,8 +10185,8 @@ void MainWindow::displayCallActivity() {
ui->tableWidgetCalls->setItem(row, 1, new QTableWidgetItem(QString("(%1)").arg(since(d.utcTimestamp))));
ui->tableWidgetCalls->setItem(row, 2, new QTableWidgetItem(QString("%1").arg(d.freq)));
ui->tableWidgetCalls->setItem(row, 3, new QTableWidgetItem(QString("%1").arg(Varicode::formatSNR(d.snr))));
auto gridItem = new QTableWidgetItem(QString("%1 ").arg(d.grid.left(4)));
gridItem->setToolTip(d.grid);
auto gridItem = new QTableWidgetItem(QString("%1").arg(d.grid.trimmed().left(4)));
gridItem->setToolTip(d.grid.trimmed());
ui->tableWidgetCalls->setItem(row, 4, gridItem);
auto distanceItem = new QTableWidgetItem(calculateDistance(d.grid));