| 1739 | } |
| 1740 | |
| 1741 | std::optional<WindowInfo> MainWindow::getWindowInfo() |
| 1742 | { |
| 1743 | if (!m_display_surface || isRenderingToMain()) |
| 1744 | return QtUtils::GetWindowInfoForWindow(this); |
| 1745 | else if (m_display_surface) |
| 1746 | return QtUtils::GetWindowInfoForWindow(m_display_surface); |
| 1747 | else |
| 1748 | return std::nullopt; |
| 1749 | } |
| 1750 | |
| 1751 | void MainWindow::onGameListRefreshProgress(const QString& status, int current, int total) |
| 1752 | { |
no test coverage detected