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
@@ -265,7 +265,7 @@ void QtIndexingDialog::setupProgress()
finishSetup();
}
void QtIndexingDialog::updateMessage(QString message)
void QtIndexingDialog::updateMessage(const QString& message)
{
if (m_messageLabel)
{
@@ -273,13 +273,13 @@ void QtIndexingDialog::updateMessage(QString message)
}
}
std::string QtIndexingDialog::getMessage() const
std::wstring QtIndexingDialog::getMessage() const
{
if (m_messageLabel)
{
return m_messageLabel->text().toStdString();
return m_messageLabel->text().toStdWString();
}
return "";
return L"";
}
void QtIndexingDialog::updateProgress(size_t progress)