Removed calls to foreach.

This commit is contained in:
Leonardo Zide
2018-02-21 16:12:18 -08:00
parent 10491629b7
commit 172528ac1f
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ void lcMainWindow::dragEnterEvent(QDragEnterEvent* Event)
void lcMainWindow::dropEvent(QDropEvent* Event)
{
const QMimeData* MimeData = Event->mimeData();
foreach (const QUrl &Url, MimeData->urls())
for (const QUrl& Url : MimeData->urls())
if (OpenProject(Url.toLocalFile()))
break;
}