Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Jan 18, 2024
1 parent 585c213 commit a0d1bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/texdocdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void TexdocDialog::itemChanged(QTableWidgetItem* item)
delete bt;
}
if (package.descriptions.count()>1){
for(CTANDescription description : package.descriptions){
for(const CTANDescription &description : package.descriptions){
QPushButton * langButton = new QPushButton(description.language,this);
langButton->setCheckable(true);
buttonGroup.addButton(langButton);
Expand Down

0 comments on commit a0d1bbf

Please sign in to comment.