src: use wstring for showing text in QtTextEditDialog
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -14,7 +14,7 @@ public:
|
||||
|
||||
FilePath getIncludedFile() const;
|
||||
FilePath getIncludingFile() const;
|
||||
std::string getDirective() const;
|
||||
std::wstring getDirective() const;
|
||||
unsigned int getLineNumber() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user