• Björn Wöldecke's avatar
    fix misinterpretation of empty window name · f3aa4bdf
    Björn Wöldecke authored
    The documentation states, that a NULL or an empty window name can be used
    to refer to the control panel. But the string parameters of the C++ frontend
    methods cannot be NULL and converting an empty string to a const char* by
    c_str() doesn't produce a NULL pointer, but an empty string. Unfortunately,
    the const char* pointer is just passed on to the standard C functions in
    the QT backend, which doesn't check for the empty string case.
    
    There are two places where the empty string check could have been introduced:
    inside the frontend or inside the backend. As long as the documentation only
    mentions this as a special case for the QT backend, the best place seems to
    be there.
    f3aa4bdf
Name
Last commit
Last update
..
androidcamera Loading commit data...
calib3d Loading commit data...
core Loading commit data...
cuda Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
matlab Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
optim Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...