重写showEvent解决
void MainWindow::showEvent(QShowEvent *event)
{
this->setAttribute(Qt::WA_Mapped);
QWidget::showEvent(event);
}
原因未知
重写showEvent解决
void MainWindow::showEvent(QShowEvent *event)
原因未知
1823
1809
1152
1198
5319

被折叠的 条评论
为什么被折叠?