From de2d1dcf8d8fd2aa5dcf17909683b30de577bce5 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 14 Jan 2019 09:50:47 -0500 Subject: [PATCH] Conditionally compile call detail browser into the app --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 29e4940..1dcd563 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -7696,6 +7696,7 @@ void MainWindow::on_tableWidgetRXAll_selectionChanged(const QItemSelection &/*se } ui->extFreeTextMsgEdit->setPlaceholderText(placeholderText); +#if JS8CALL_SHOW_CALL_DETAIL_BROWSER // heard detail QString hearing = m_heardGraphOutgoing.value(selectedCall).values().join(", "); QString heardby = m_heardGraphIncoming.value(selectedCall).values().join(", "); @@ -7706,8 +7707,7 @@ void MainWindow::on_tableWidgetRXAll_selectionChanged(const QItemSelection &/*se ); ui->callDetailTextBrowser->setHtml(html); ui->callDetailTextBrowser->setVisible(!selectedCall.isEmpty() && (!hearing.isEmpty() || !heardby.isEmpty())); - //ui->callDetailTextBrowser->setMinimumHeight((qreal)50.0 + min(ui->callDetailTextBrowser->document()->size().height(), ui->callsVerticalSplitter->height() * 0.33)); - +#endif // immediately update the display); updateButtonDisplay();