Skip to content

Commit

Permalink
Merge pull request #58207 from CleverRaven/obj-creator
Browse files Browse the repository at this point in the history
Fix compile error in Object Creator
  • Loading branch information
ZhilkinSerg authored Jun 6, 2022
2 parents 4f1c3fc + b46490a commit a22139b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_creator/spell_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ creator::spell_window::spell_window( QWidget *parent, Qt::WindowFlags flags )
sound_type_box.move( QPoint( col * default_text_box_width, row++ * default_text_box_height ) );
sound_type_box.show();
QStringList sound_types;
for( int i = 0; i < static_cast<int>( sounds::sound_t::_LAST ); i++ ) {
for( int i = 0; i < static_cast<int>( sounds::sound_t::LAST ); i++ ) {
sound_types.append( QString( io::enum_to_string( static_cast<sounds::sound_t>( i ) ).c_str() ) );
}
sound_type_box.addItems( sound_types );
Expand Down

0 comments on commit a22139b

Please sign in to comment.