diff options
Diffstat (limited to 'widgets/FoxLogWindow.cpp')
| -rwxr-xr-x | widgets/FoxLogWindow.cpp | 7 |
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)
|
