src: switched to using only wstring for status message

This commit is contained in:
mlangkabel
2018-02-12 10:39:28 +01:00
parent 72c2596251
commit e3322adf2e
20 changed files with 69 additions and 65 deletions
+4 -4
View File
@@ -205,7 +205,7 @@ void QtWindow::moveToCenter()
}
}
void QtWindow::updateTitle(QString title)
void QtWindow::updateTitle(const QString& title)
{
if (m_title)
{
@@ -213,13 +213,13 @@ void QtWindow::updateTitle(QString title)
}
}
std::string QtWindow::getTitle() const
std::wstring QtWindow::getTitle() const
{
if (m_title)
{
return m_title->text().toStdString();
return m_title->text().toStdWString();
}
return "";
return L"";
}
void QtWindow::updateSubTitle(QString subTitle)