Merge pull request #3054 from zillatrooper:master

pull/3055/head
Vadim Pisarevsky 11 years ago
commit 44f24efad4
  1. 2
      modules/highgui/src/window_QT.cpp

@ -401,7 +401,7 @@ static CvTrackbar* icvFindTrackBarByName(const char* name_trackbar, const char*
{
QString nameQt(name_trackbar);
if (!name_window && global_control_panel) //window name is null and we have a control panel
if ((!name_window || !name_window[0]) && global_control_panel) //window name is null and we have a control panel
layout = global_control_panel->myLayout;
if (!layout)

Loading…
Cancel
Save