icecc / icemon

Icecream GUI Monitor
http://kfunk.org/tag/icemon/
GNU General Public License v2.0
88 stars 34 forks source link

In Flow view, host show as Disabled. #63

Open stayprivate opened 3 years ago

stayprivate commented 3 years ago

Hi,

I noticed that in the flow view, when a host has never run a job it will show as disabled. That got me confused.

`QString FlowTableView::hostInfoText(HostInfo *hostInfo) {

if ((hostInfo->serverSpeed() == 0) && (hostInfo->numJobs() == 0)) { // host disabled
    return tr("%1 (Disabled)").arg(hostInfo->name());
} else {
    return tr("%1 (%2/%3)").arg(hostInfo->name()).arg(hostInfo->numJobs()).arg(hostInfo->maxJobs());
}

} `

Am I interprinting what disabled means or is this a bug ?