Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Flow view, host show as Disabled. #63

Open
stayprivate opened this issue Apr 8, 2021 · 0 comments
Open

In Flow view, host show as Disabled. #63

stayprivate opened this issue Apr 8, 2021 · 0 comments

Comments

@stayprivate
Copy link

stayprivate commented Apr 8, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant