logic: used wstring in FilePath constructor
* used wstring in FilePath constructor where easily possible * added FilePath concatenate method that accepts string parameter * implemented using only wstring in MessageStatus * used wstring in config
This commit is contained in:
@@ -100,12 +100,12 @@ void QtMainView::hideStartScreen()
|
||||
);
|
||||
}
|
||||
|
||||
void QtMainView::setTitle(const std::string& title)
|
||||
void QtMainView::setTitle(const std::wstring& title)
|
||||
{
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
{
|
||||
m_window->setWindowTitle(QString::fromStdString(title));
|
||||
m_window->setWindowTitle(QString::fromStdWString(title));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user