In cvAddText, construct QString from "text" using fromUtf8.

pull/3614/head
Craig Reynolds 10 years ago
parent 396f7e1a17
commit 72d90ba8d2
  1. 2
      modules/highgui/src/window_QT.cpp

@ -117,7 +117,7 @@ CV_IMPL void cvAddText(const CvArr* img, const char* text, CvPoint org, CvFont*
"putText",
autoBlockingConnection(),
Q_ARG(void*, (void*) img),
Q_ARG(QString,QString(text)),
Q_ARG(QString,QString::fromUtf8(text)),
Q_ARG(QPoint, QPoint(org.x,org.y)),
Q_ARG(void*,(void*) font));
}

Loading…
Cancel
Save