Bug #1890 Opencv 2.4.0 with QT 4.7.4 and cvcreatebutton exception fixed.

QVector range check exception fixed.
pull/1459/head
Alexander Smorkalov 12 years ago
parent f9c6123439
commit 06a7a1ac47
  1. 3
      modules/highgui/src/window_QT.cpp

@ -1736,7 +1736,8 @@ void CvWindow::displayStatusBar(QString text, int delayms)
void CvWindow::enablePropertiesButton()
{
vect_QActions[9]->setDisabled(false);
if (!vect_QActions.empty())
vect_QActions[9]->setDisabled(false);
}

Loading…
Cancel
Save