mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix various typos in source documentation and comments (cont.)
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
a76e5446aa
commit
1994235bc5
@@ -128,7 +128,7 @@ bool ElementsCollectionModel::canDropMimeData(const QMimeData *data,
|
||||
if (!qsi)
|
||||
qsi = itemFromIndex(parent);
|
||||
|
||||
//Drop in the common collection is forbiden
|
||||
//Drop in the common collection is forbidden
|
||||
if (qsi->type() == FileElementCollectionItem::Type)
|
||||
if (static_cast<FileElementCollectionItem *>(qsi)->isCommonCollection())
|
||||
return false;
|
||||
@@ -193,7 +193,7 @@ bool ElementsCollectionModel::dropMimeData(const QMimeData *data,
|
||||
if (location.exist())
|
||||
{
|
||||
//If feci have a child with the same path of location,
|
||||
//we remove the existing child befor insert new child
|
||||
//we remove the existing child before insert new child
|
||||
for (int i=0 ; i<feci->rowCount() ; i++) {
|
||||
if (static_cast<FileElementCollectionItem *>(
|
||||
feci->child(i))->collectionPath()
|
||||
|
||||
Reference in New Issue
Block a user