cleanups.

This commit is contained in:
2025-08-14 22:03:31 +02:00
parent 0d7ab33c74
commit 6865e6aaaa

View File

@@ -144,6 +144,8 @@ void XQViewModel::addSection(const XQItemList& list, const XQNodePtr& sheetNode
XQModelSection section(list[0]->index(), dataNode );
_sections.addAtKey(sheetNode->attribute( c_ContentType), section);
}
//! SLOT, der aufgerufen wird, wenn eine edit-action getriggert wurde.
void XQViewModel::onActionTriggered(QAction* action)
@@ -296,12 +298,12 @@ void XQViewModel::cmdCut( XQCommand& command )
XQItem& firstItem = xqFirstItem( (*it).itemPos );
qDebug() << " --- Cut: " << firstItem.text() << " " << firstItem.row() << " id#" << entry.contentNode->_id;
entry.contentNode->unlink_self();
removeRow(entry.itemPos );
}
}
//! entfernte knoten wieder einfügen , 'command' enthält die liste
void XQViewModel::cmdCutUndo( XQCommand& command )