Gui: modernize C++: use range-based for loop
This commit is contained in:
@@ -733,9 +733,9 @@ void AboutDialog::showLibraryInformation()
|
||||
QTextStream out(&html);
|
||||
out << "<html><head/><body style=\" font-size:8.25pt; font-weight:400; font-style:normal;\">"
|
||||
<< "<p>" << msg << "<br/></p>\n<ul>\n";
|
||||
for (QList<LibraryInfo>::iterator it = libInfo.begin(); it != libInfo.end(); ++it) {
|
||||
out << "<li><p>" << it->name << " " << it->version << "</p>"
|
||||
"<p><a href=\"" << it->href << "\">" << it->url
|
||||
for (const auto & it : libInfo) {
|
||||
out << "<li><p>" << it.name << " " << it.version << "</p>"
|
||||
"<p><a href=\"" << it.href << "\">" << it.url
|
||||
<< "</a><br/></p></li>\n";
|
||||
}
|
||||
out << "</ul>\n</body>\n</html>";
|
||||
|
||||
Reference in New Issue
Block a user