mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
fix(livescreen): handle initialization failure in LiveScreenWidget
This commit is contained in:
@@ -104,6 +104,8 @@ LiveScreenWidget::LiveScreenWidget(
|
||||
applyTransformAndDisplay();
|
||||
});
|
||||
|
||||
connect(m_client, &CXX::ScreenshotBackend::init_failed, this,
|
||||
&LiveScreenWidget::handleFailedInitialization);
|
||||
QTimer::singleShot(0, this, &LiveScreenWidget::startInitialization);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user