Qt: Unmark window info error for translation

This commit is contained in:
Connor McLaughlin 2020-08-06 19:30:47 +10:00
parent 05f0ce6da8
commit 8c1a72f640
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ QtDisplayWidget* MainWindow::createDisplay(QThread* worker_thread, const QString
std::optional<WindowInfo> wi = m_display_widget->getWindowInfo();
if (!wi.has_value())
{
reportError(tr("Failed to get window info from widget"));
reportError(QStringLiteral("Failed to get window info from widget"));
destroyDisplayWidget();
return nullptr;
}
@ -155,7 +155,7 @@ QtDisplayWidget* MainWindow::updateDisplay(QThread* worker_thread, bool fullscre
std::optional<WindowInfo> wi = m_display_widget->getWindowInfo();
if (!wi.has_value())
{
reportError(tr("Failed to get new window info from widget"));
reportError(QStringLiteral("Failed to get new window info from widget"));
destroyDisplayWidget();
return nullptr;
}