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:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user