summaryrefslogtreecommitdiff
path: root/widgets/FoxLogWindow.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-15 23:04:33 +0200
committerChristoph Berg <myon@debian.org>2025-09-15 23:04:33 +0200
commite1c678ef00f0159bbeb5571e5ebb0d4697121334 (patch)
tree6547edef81a62a812a4d0f64e03fda226b5f0a7e /widgets/FoxLogWindow.cpp
parentb9daa22c4c3ad51cd4bc0ef624a19f21d01c9305 (diff)
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
Update upstream source from tag 'upstream/3.0.0_rc1+repack'
Update to upstream version '3.0.0~rc1+repack' with Debian dir 68c212e23136fecf9ebc6f12ff355579224d27ee
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)