Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/views/flowtableview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -144,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());
}
Expand Down