mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -173,7 +173,7 @@ void RecentFiles::buildMenu() {
|
||||
}
|
||||
|
||||
// remplit le menu
|
||||
foreach (QString filepath, list_) {
|
||||
for (QString filepath: list_) {
|
||||
// creee une nouvelle action pour le fichier
|
||||
QAction *action = new QAction(filepath, this);
|
||||
if (!files_icon_.isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user