提交 bd643ad5 编写于 作者: Y Yannick Verdie

New functions with QT GUI:

Fixed memory leak
Disable QT by default
上级 c007b60b
......@@ -496,7 +496,7 @@ endif()
############################### QT ################################
set(HAVE_QT 0)
set(HAVE_QT_OPENGL 0)
set(AUTOSWITCH_QT 1)#uses to disable QT
set(AUTOSWITCH_QT 0)#uses to disable QT
find_package(Qt4)# QUIET)
if (QT4_FOUND AND AUTOSWITCH_QT)
......
......@@ -780,7 +780,15 @@ CvWindow::~CvWindow()
delete layout;
}
delete shortcutZ;
delete shortcutPlus;
delete shortcutMinus;
delete shortcutLeft;
delete shortcutRight;
delete shortcutUp;
delete shortcutDown;
}
void CvWindow::displayInfo(QString text,int delayms)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册