mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-08 00:44:39 -04:00
use correct method for getting row count from the DB; use signals/slots to inform the CabrilloLogWindow the qso_count has changed
This commit is contained in:
@@ -72,6 +72,7 @@ CabrilloLogWindow::CabrilloLogWindow (QSettings * settings, Configuration const
|
||||
auto h_header = m_->ui_.log_table_view->horizontalHeader ();
|
||||
m_->ui_.log_table_view->verticalHeader()->setVisible(false); // turn off line numbers for the table view
|
||||
h_header->moveSection (7, 1); // band to first column
|
||||
|
||||
}
|
||||
|
||||
CabrilloLogWindow::~CabrilloLogWindow ()
|
||||
@@ -88,7 +89,6 @@ void CabrilloLogWindow::log_model_changed (int row)
|
||||
{
|
||||
m_->log_model_->select ();
|
||||
}
|
||||
this->set_nQSO(m_->log_model_->rowCount());
|
||||
}
|
||||
|
||||
void CabrilloLogWindow::set_nQSO(int n)
|
||||
|
||||
Reference in New Issue
Block a user