src: use wstring in tooltip and snippet

This commit is contained in:
mlangkabel
2018-02-06 15:54:09 +01:00
parent 3a6a22df2e
commit 6ae9c2eca5
15 changed files with 39 additions and 41 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ void QtCodeFileSingle::setFileData(const FileData& file)
m_currentFilePath = file.filePath;
m_titleBar->setMaximized();
if (file.title.size())
if (!file.title.empty())
{
titleButton->setProject(file.title);
titleButton->setIsComplete(true);