diff options
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-05 11:14:20 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2014-08-05 11:14:20 +0200
commit31c1406a388d86a5aceafb0addd41fe933b92f4f (patch)
parent9b92086a9351a2b90ec2dfad3e3d9fc27810877d (diff)
qv4l2: keep the "Controls" text
Don't chop off the "Controls" text in the tab name: it turns out that leaving that off makes it hard to tell the difference between tabs that are setup by qv4l2 and tabs that contain controls from the driver. If someone can come up with a better way of doing this then that would be welcome, but for now this is the best I can come up with. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/qv4l2/ctrl-tab.cpp b/utils/qv4l2/ctrl-tab.cpp
index db528b0e..7478a866 100644
--- a/utils/qv4l2/ctrl-tab.cpp
+++ b/utils/qv4l2/ctrl-tab.cpp
@@ -125,8 +125,6 @@ void ApplicationWindow::addTabs(int m_winWidth)
QGridLayout *grid = new QGridLayout(w);
QString tabName(qec.name);
- if (tabName != "User Controls" && tabName.endsWith(" Controls"))
- tabName.chop(9);
if (tabName.length()) {
QLabel *title_tab = new QLabel(tabName, parentWidget());

Privacy Policy