mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-20 06:38:48 -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:
@@ -2779,7 +2779,9 @@ void MainWindow::on_contest_log_action_triggered()
|
||||
m_contestLogWindow->showNormal ();
|
||||
m_contestLogWindow->raise ();
|
||||
m_contestLogWindow->activateWindow ();
|
||||
//m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso());
|
||||
// connect signal from m_logBook.contest_log to m_contestLogWindow
|
||||
connect(m_logBook.contest_log(), &CabrilloLog::qso_count_changed, m_contestLogWindow.data (), &CabrilloLogWindow::set_nQSO);
|
||||
m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso());
|
||||
}
|
||||
|
||||
void MainWindow::on_actionColors_triggered()
|
||||
|
||||
Reference in New Issue
Block a user