cmake-plugin: 处理 helloworld 插件示例在初始化时的误弹提示

This commit is contained in:
zinface 2024-03-29 19:07:18 +08:00
parent f232da29c7
commit 8310215faa
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void HelloWorld::registerPluginCallBack(std::function<bool (QWidget *, int, void
void HelloWorld::registerPluginActions(QMenu *rootMenu)
{
QMessageBox::information(nullptr, "提示信息", "您的 MenuType 类型为 1 需要注册 QAction 集合");
// QMessageBox::information(nullptr, "提示信息", "您的 MenuType 类型为 1 需要注册 QAction 集合");
rootMenu->addAction("第一个 QAction", [](){
QMessageBox::information(nullptr, "提示信息", "您已 trigger 触发插件的第一个 QAction");
});