Skip to content

Commit a0d1bbf

Browse files
committed
fix compiler warning
1 parent 585c213 commit a0d1bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/texdocdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void TexdocDialog::itemChanged(QTableWidgetItem* item)
162162
delete bt;
163163
}
164164
if (package.descriptions.count()>1){
165-
for(CTANDescription description : package.descriptions){
165+
for(const CTANDescription &description : package.descriptions){
166166
QPushButton * langButton = new QPushButton(description.language,this);
167167
langButton->setCheckable(true);
168168
buttonGroup.addButton(langButton);

0 commit comments

Comments
 (0)