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 -3
View File
@@ -327,7 +327,7 @@ void QtGraphicsView::wheelEvent(QWheelEvent* event)
void QtGraphicsView::contextMenuEvent(QContextMenuEvent* event)
{
m_clipboardNodeName = "";
m_clipboardNodeName = L"";
m_hideNodeId = 0;
m_hideEdgeId = 0;
m_bookmarkNodeId = 0;
@@ -370,7 +370,7 @@ void QtGraphicsView::contextMenuEvent(QContextMenuEvent* event)
m_hideEdgeAction->setEnabled(m_hideEdgeId);
m_bookmarkNodeAction->setEnabled(m_bookmarkNodeId);
m_copyNodeNameAction->setEnabled(m_clipboardNodeName.size());
m_copyNodeNameAction->setEnabled(!m_clipboardNodeName.empty());
QtContextMenu menu(event, this);
@@ -496,7 +496,7 @@ void QtGraphicsView::exportGraph()
void QtGraphicsView::copyNodeName()
{
QApplication::clipboard()->setText(m_clipboardNodeName.c_str());
QApplication::clipboard()->setText(QString::fromStdWString(m_clipboardNodeName));
}
void QtGraphicsView::hideNode()