mirror of https://github.com/BOINC/boinc.git
Remove dead code
This commit is contained in:
parent
3e72cbb3c6
commit
0b57bc3527
clientgui
|
@ -298,7 +298,6 @@ void CSimpleProjectPanel::ReskinInterface() {
|
||||||
|
|
||||||
CMainDocument* pDoc = wxGetApp().GetDocument();
|
CMainDocument* pDoc = wxGetApp().GetDocument();
|
||||||
ProjectSelectionData* selData;
|
ProjectSelectionData* selData;
|
||||||
PROJECT* project __attribute__((unused));
|
|
||||||
char* ctrl_url;
|
char* ctrl_url;
|
||||||
|
|
||||||
CSimplePanelBase::ReskinInterface();
|
CSimplePanelBase::ReskinInterface();
|
||||||
|
@ -308,7 +307,6 @@ void CSimpleProjectPanel::ReskinInterface() {
|
||||||
for(int j=0; j<ctrlCount; j++) {
|
for(int j=0; j<ctrlCount; j++) {
|
||||||
selData = (ProjectSelectionData*)m_ProjectSelectionCtrl->GetClientData(j);
|
selData = (ProjectSelectionData*)m_ProjectSelectionCtrl->GetClientData(j);
|
||||||
ctrl_url = selData->project_url;
|
ctrl_url = selData->project_url;
|
||||||
project = pDoc->state.lookup_project(ctrl_url);
|
|
||||||
wxBitmap* projectBM = GetProjectSpecificBitmap(ctrl_url);
|
wxBitmap* projectBM = GetProjectSpecificBitmap(ctrl_url);
|
||||||
m_ProjectSelectionCtrl->SetItemBitmap(j, *projectBM);
|
m_ProjectSelectionCtrl->SetItemBitmap(j, *projectBM);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue