A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
graphlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Strings are UTF8 encoded in drawText.
[graphlib.git]
/
DrawingWindow.cpp
diff --git
a/DrawingWindow.cpp
b/DrawingWindow.cpp
index
bb6a3e2
..
554e7fb
100644
(file)
--- a/
DrawingWindow.cpp
+++ b/
DrawingWindow.cpp
@@
-1034,7
+1034,7
@@
void DrawingWindow::realDrawText(int x, int y, const char *text, int flags)
r.setTop(y);
}
syncMutex.lock();
- painter->drawText(r, flags,
text
, &r);
+ painter->drawText(r, flags,
QString::fromUtf8(text)
, &r);
dirty(r);
syncCondition.wakeAll();
syncMutex.unlock();