logic: use wstring in symbol and bookmark names

* use wstring in symbol and bookmark names
* fixed setting apppath in windows includes
* regard utf8 encoding in shared indexer commands
* regard utf8 encoding in shared indexer status
This commit is contained in:
mlangkabel
2018-02-05 17:17:33 +01:00
parent c99e79364f
commit 9e041c1f0a
155 changed files with 1955 additions and 1864 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
#include "settings/ColorScheme.h"
#include "utility/utilityString.h"
std::shared_ptr<ColorScheme> ColorScheme::s_instance;
std::shared_ptr<ColorScheme> ColorScheme::getInstance()
@@ -60,7 +62,7 @@ std::string ColorScheme::getNodeTypeColor(const std::string& typeStr, const std:
std::string ColorScheme::getEdgeTypeColor(Edge::EdgeType type, ColorState state) const
{
return getEdgeTypeColor(Edge::getUnderscoredTypeString(type), state);
return getEdgeTypeColor(utility::encodeToUtf8(Edge::getUnderscoredTypeString(type)), state);
}
std::string ColorScheme::getEdgeTypeColor(const std::string& typeStr, ColorState state) const