mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
add aboutQt
This commit is contained in:
parent
5d15232260
commit
766e91dae4
@ -336,6 +336,11 @@ QToolBar *ToolBarHelper::setupSettingsToolBar(MainWindow *p_win, QToolBar *p_too
|
||||
QMessageBox::about(p_win, MainWindow::tr("About"), info + text);
|
||||
});
|
||||
|
||||
auto aboutQtAct = menu->addAction(MainWindow::tr("About Qt"));
|
||||
aboutQtAct->setMenuRole(QAction::AboutQtRole);
|
||||
MainWindow::connect(aboutQtAct, &QAction::triggered,
|
||||
qApp, &QApplication::aboutQt);
|
||||
|
||||
tb->addWidget(btn);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user