Remove useless code for extra ui_selector that is not used
This commit is contained in:
		
							parent
							
								
									37de947a3d
								
							
						
					
					
						commit
						48093c3f2b
					
				@ -755,7 +755,6 @@ private:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  QVector<AOCharButton *> ui_char_button_list;
 | 
					  QVector<AOCharButton *> ui_char_button_list;
 | 
				
			||||||
  QVector<AOCharButton *> ui_char_button_list_filtered;
 | 
					  QVector<AOCharButton *> ui_char_button_list_filtered;
 | 
				
			||||||
  AOImage *ui_selector;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  AOButton *ui_back_to_lobby;
 | 
					  AOButton *ui_back_to_lobby;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -21,10 +21,6 @@ void Courtroom::construct_char_select()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  ui_char_buttons = new QWidget(ui_char_select_background);
 | 
					  ui_char_buttons = new QWidget(ui_char_select_background);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ui_selector = new AOImage(ui_char_select_background, ao_app, true);
 | 
					 | 
				
			||||||
  ui_selector->setAttribute(Qt::WA_TransparentForMouseEvents);
 | 
					 | 
				
			||||||
  ui_selector->resize(62, 62);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  ui_back_to_lobby = new AOButton(ui_char_select_background, ao_app);
 | 
					  ui_back_to_lobby = new AOButton(ui_char_select_background, ao_app);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ui_char_password = new QLineEdit(ui_char_select_background);
 | 
					  ui_char_password = new QLineEdit(ui_char_select_background);
 | 
				
			||||||
 | 
				
			|||||||
@ -972,9 +972,6 @@ void Courtroom::set_widgets()
 | 
				
			|||||||
  set_size_and_pos(ui_sfx_slider, "sfx_slider");
 | 
					  set_size_and_pos(ui_sfx_slider, "sfx_slider");
 | 
				
			||||||
  set_size_and_pos(ui_blip_slider, "blip_slider");
 | 
					  set_size_and_pos(ui_blip_slider, "blip_slider");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ui_selector->set_image("char_selector");
 | 
					 | 
				
			||||||
  ui_selector->hide();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  set_size_and_pos(ui_back_to_lobby, "back_to_lobby");
 | 
					  set_size_and_pos(ui_back_to_lobby, "back_to_lobby");
 | 
				
			||||||
  ui_back_to_lobby->setText(tr("Back to Lobby"));
 | 
					  ui_back_to_lobby->setText(tr("Back to Lobby"));
 | 
				
			||||||
  ui_back_to_lobby->setToolTip(tr("Return back to the server list."));
 | 
					  ui_back_to_lobby->setToolTip(tr("Return back to the server list."));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user