首页| 论坛| 消息

标题:在mainwindow定义个qstringlist,然后在别的dlg调用添加字符串,总是报错,为什么?
作者:iloveghq
日期:2020-05-27 15:51
内容:

void brightDlg::BtnRightClick()
{
parentDlg->onAddLogInfo(tr("1111"));
}
void MainWindow::onAddLogInfo(QString str)
{
if(strListLog->count()


#1 [20091001753 05-27 17:32]
strListLog->count()
strListLog.insert()
细心点。
#2 [九重水 05-27 20:06]
编译不报错的吗?

回复 发表
主题 版块