Qt最小化后恢复界面可能会出现假死冻结现象,加上代码:
void showEvent(QShowEvent *e)
{
setAttribute(Qt::WA_Mapped);
QWidget::showEvent(e);
}
Qt最小化后恢复界面可能会出现假死冻结现象,加上代码:
void showEvent(QShowEvent *e)
{
setAttribute(Qt::WA_Mapped);
QWidget::showEvent(e);
}