mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Removed calls to foreach.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user