summaryrefslogtreecommitdiff
path: root/widgets/FoxLogWindow.cpp
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2023-09-03 19:46:51 -0700
committertony mancill <tmancill@debian.org>2023-09-03 19:46:51 -0700
commit1fc24d9474229c0f382da5def559f5de7b903f86 (patch)
tree8a745660a498dbd6209a198679b821799f107024 /widgets/FoxLogWindow.cpp
parent65e5ae53a0358d9a3d040b13e0cf84556a7b4812 (diff)
parent393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff)
Update upstream source from tag 'upstream/2.7.0_rc2+repack'
Update to upstream version '2.7.0~rc2+repack' with Debian dir c24f4e90e5ec8585c79007453c538689dc460e86
Diffstat (limited to 'widgets/FoxLogWindow.cpp')
-rwxr-xr-xwidgets/FoxLogWindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/FoxLogWindow.cpp b/widgets/FoxLogWindow.cpp
index 999750c2..992d02db 100755
--- a/widgets/FoxLogWindow.cpp
+++ b/widgets/FoxLogWindow.cpp
@@ -47,7 +47,7 @@ FoxLogWindow::FoxLogWindow (QSettings * settings, Configuration const * configur
m_->ui_.log_table_view->setItemDelegateForColumn (3, new MaidenheadLocatorDelegate {this});
m_->ui_.log_table_view->setItemDelegateForColumn (6, new ForeignKeyDelegate {configuration->bands (), 0, this});
m_->ui_.log_table_view->horizontalHeader ()->moveSection (6, 1); // move band to first column
- m_->ui_.rate_label->setNum (0);
+ m_->ui_.rate_label->setText ("");
m_->ui_.queued_label->setNum (0);
m_->ui_.callers_label->setNum (0);
@@ -111,6 +111,11 @@ void FoxLogWindow::rate (int n)
m_->ui_.rate_label->setNum (n);
}
+void FoxLogWindow::rate (QString s)
+{
+ m_->ui_.rate_label->setText(s);
+}
+
void FoxLogWindow::log_model_changed (int row)
{
if (row >= 0)