diff --git a/checkin_notes b/checkin_notes index 6d87741ce1..a6bf56b449 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9593,3 +9593,11 @@ David 1 Dec 2009 sched, lib/ Makefile.am + +Rom 1 Dec 2009 + - MGR: Filter project list icons so that the icon will only be displayed + if the volunteer has the hardware to go with it. + + clientgui/ + ProjectInfoPage.cpp + diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index ec0456c3ba..aeced9a22a 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -296,22 +296,22 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) { wxString strRootProjectPlatform = strProjectPlatform.SubString(0, strProjectPlatform.Find(_T("[")) - 1); if (strProjectPlatform.Find(_T("[cuda")) != wxNOT_FOUND) { - bProjectSupportsNvidiaGPU = true; if ((pDoc->state.have_cuda) && (strClientPlatform == strRootProjectPlatform)) { + bProjectSupportsNvidiaGPU = true; bSupportedPlatformFound = true; } } if (strProjectPlatform.Find(_T("[ati")) != wxNOT_FOUND) { - bProjectSupportsATIGPU = true; if ((pDoc->state.have_ati) && (strClientPlatform == strRootProjectPlatform)) { + bProjectSupportsATIGPU = true; bSupportedPlatformFound = true; } } if (strProjectPlatform.Find(_T("[mt")) != wxNOT_FOUND) { - bProjectSupportsMulticore = true; - if (strClientPlatform == strRootProjectPlatform) { + if ((pDoc->host.p_ncpus >= 4) && (strClientPlatform == strRootProjectPlatform)) { + bProjectSupportsMulticore = true; bSupportedPlatformFound = true; } }