mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Change the way how an element or directory is copied, this isn't the role of the new panel to manage the copy.
We must to use elementcollectionhandler instead git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4343 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -84,7 +84,7 @@ bool ElementCollectionItem::insertChild(int row, ElementCollectionItem *item)
|
||||
* @return The child at @row of this item.
|
||||
* If there isn't child at @row, return default ElementCollectionItem
|
||||
*/
|
||||
ElementCollectionItem *ElementCollectionItem::child(int row) {
|
||||
ElementCollectionItem *ElementCollectionItem::child(int row) const {
|
||||
return m_child_items.value(row);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user