提交 3c878798 编写于 作者: I Ilya Lysenkov

Fixed cvDestroyAllWindows() without windows in QT (#2440)

上级 56fbcc54
......@@ -499,7 +499,7 @@ CV_IMPL void cvDestroyWindow(const char* name)
CV_IMPL void cvDestroyAllWindows()
{
if (!guiMainThread)
CV_Error( CV_StsNullPtr, "NULL guiReceiver (please create a window)" );
return;
QMetaObject::invokeMethod(guiMainThread,
"destroyAllWindow",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册