same here
This commit is contained in:
		
							parent
							
								
									4580816f96
								
							
						
					
					
						commit
						ed240c6ab0
					
				@ -18,14 +18,14 @@ public:
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    void run()
 | 
					    void run()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        AOCharButton* character = char_button;
 | 
					        AOCharButton* thisCharacterButton = char_button;
 | 
				
			||||||
        character->reset();
 | 
					        thisCharacterButton->reset();
 | 
				
			||||||
        character->hide();
 | 
					        thisCharacterButton->hide();
 | 
				
			||||||
        character->set_image(thisCourtroom->char_list.at(char_num).name);
 | 
					        thisCharacterButton->set_image(thisCourtroom->char_list.at(char_num).name);
 | 
				
			||||||
        thisCourtroom->ui_char_button_list.append(character);
 | 
					        thisCourtroom->ui_char_button_list.append(thisCharacterButton);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        thisCourtroom->connect(character, SIGNAL(clicked()), thisCourtroom->char_button_mapper, SLOT(map()));
 | 
					        thisCourtroom->connect(thisCharacterButton, SIGNAL(clicked()), thisCourtroom->char_button_mapper, SLOT(map()));
 | 
				
			||||||
        thisCourtroom->char_button_mapper->setMapping(character, thisCourtroom->ui_char_button_list.size() - 1);
 | 
					        thisCourtroom->char_button_mapper->setMapping(thisCharacterButton, thisCourtroom->ui_char_button_list.size() - 1);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user