opencv/modules/highgui/src
Björn Wöldecke f3aa4bdf59 fix misinterpretation of empty window name
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.
2014-08-06 19:02:48 +02:00
..
files_Qt Removed incorrect iCCP chunks from GUI resources. 2013-08-30 09:49:24 -04:00
ppltasks_winrt.h Update cap_msmf.cpp 2014-04-15 18:32:23 +08:00
precomp.hpp Split highgui module to videoio and highgui 2014-07-14 23:16:47 +04:00
window_carbon.cpp typos 2014-03-04 12:47:40 +04:00
window_cocoa.mm Remove all using directives for STL namespace and members 2013-02-25 15:04:17 +04:00
window_gtk.cpp Change quotes around GTK headers for angle brackets 2014-04-13 11:07:38 +01:00
window_QT.cpp fix misinterpretation of empty window name 2014-08-06 19:02:48 +02:00
window_QT.h Fix image saving from QT toolbar 2013-06-06 11:15:00 +01:00
window_QT.qrc QT new functions: 2010-07-16 09:12:15 +00:00
window_w32.cpp Clarified code. 2014-07-03 22:45:11 +03:00
window.cpp Use GTK_VERSION_MAJOR to switch between GTK+ version two and three 2014-04-13 11:04:56 +01:00