Using JsonParser to generate JSON document to pass in the addItems signal & using roles instead of their names (compiler will complain if a role is not existent anymore).

This commit is contained in:
2025-12-31 10:47:28 +01:00
parent 12e5596b34
commit bcba8f8452
2 changed files with 10 additions and 17 deletions

View File

@ -329,10 +329,6 @@ void MainWindow::createUndoActions() {
// connect(m_showUndoViewAction, &QAction::toggled, this, &MainWindow::onShowUndoViewToggled);
connect(m_showModelUndoViewAct.get(), &QAction::triggered, this,
&MainWindow::onShowUndoViewToggled);
// TODO ? add a keyboard short cut?
// m_showUndoViewAction->setShortcuts(QKeySequence::Copy);
ui->menu_View->addAction(m_showModelUndoViewAct.get());
}