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
@@ -302,11 +302,11 @@ void QtGraphEdge::focusIn()
Edge::EdgeType type = (getData() ? getData()->getType() : Edge::EDGE_AGGREGATION);
TooltipInfo info;
info.title = utility::encodeToUtf8(Edge::getReadableTypeString(type));
info.title = Edge::getReadableTypeString(type);
if (type == Edge::EDGE_AGGREGATION && m_direction == TokenComponentAggregation::DIRECTION_NONE)
{
info.title = "bidirectional " + info.title;
info.title = L"bidirectional " + info.title;
}
if (type == Edge::EDGE_AGGREGATION)