src: use wstring for showing text in QtTextEditDialog

This commit is contained in:
mlangkabel
2018-02-06 15:17:10 +01:00
parent adb9542c31
commit 5423d0b053
16 changed files with 107 additions and 85 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ FilePath IncludeDirective::getIncludingFile() const
return m_includingFilePath;
}
std::string IncludeDirective::getDirective() const
std::wstring IncludeDirective::getDirective() const
{
return std::string("#include ") + (m_usesBrackets ? "<" : "\"") + m_includedFilePath.str() + (m_usesBrackets ? ">" : "\"");
return std::wstring(L"#include ") + (m_usesBrackets ? L"<" : L"\"") + m_includedFilePath.wstr() + (m_usesBrackets ? L">" : L"\"");
}
unsigned int IncludeDirective::getLineNumber() const
+1 -1
View File
@@ -14,7 +14,7 @@ public:
FilePath getIncludedFile() const;
FilePath getIncludingFile() const;
std::string getDirective() const;
std::wstring getDirective() const;
unsigned int getLineNumber() const;
private: