修改bug

This commit is contained in:
duanshengchao 2024-11-08 17:09:56 +08:00
parent b2f7f6500b
commit 2d6cf1b7f8
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Dashboard::Dashboard(const QString& strName, QObject *parent)
m_pDisplayAreaLayout = nullptr;
//tab,自适应text内容
m_pTab = new CustomTab();
m_pTab->setDashboard(this);
//m_pTabButton->setIcon(QIcon(":/images/btn_float_default.png"));
connect(m_pTab, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(contextMenu_tab(const QPoint&)));
//右键菜单