From 5ddc9a9fc03fd0c87fe66115d6765ea59f63bfba Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Wed, 4 Mar 2026 23:47:14 +0100 Subject: [PATCH 1/2] flowtableview: Do not use bold font Do not use bold font for indicating active hosts. This causes unnessary resizeevents for the progress widget which then resets the view. Fixes #69 --- src/views/flowtableview.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/flowtableview.cc b/src/views/flowtableview.cc index db9514c..361758e 100644 --- a/src/views/flowtableview.cc +++ b/src/views/flowtableview.cc @@ -132,7 +132,6 @@ void FlowTableView::update(const Job &job) HostInfo *hostInfo = hostInfoManager()->find(serverId); QFont f = m_widget->font(); - f.setBold(hostInfo->numJobs() > 0); hostNameItem->setFont(f); hostNameItem->setText(hostInfoText(hostInfo)); } From cb2fbbc5c5f915554b1c85f4eefa8c463befff3a Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Thu, 5 Mar 2026 00:03:12 +0100 Subject: [PATCH 2/2] flowtableview: Clarify string Fixes #63 --- src/views/flowtableview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/flowtableview.cc b/src/views/flowtableview.cc index 361758e..b0b4720 100644 --- a/src/views/flowtableview.cc +++ b/src/views/flowtableview.cc @@ -143,7 +143,7 @@ QWidget *FlowTableView::widget() const QString FlowTableView::hostInfoText(HostInfo *hostInfo) { if ((hostInfo->serverSpeed() == 0) && (hostInfo->numJobs() == 0)) { // host disabled - return tr("%1 (Disabled)").arg(hostInfo->name()); + return tr("%1 (not accepting jobs)").arg(hostInfo->name()); } else { return tr("%1 (%2/%3)").arg(hostInfo->name()).arg(hostInfo->numJobs()).arg(hostInfo->maxJobs()); }