This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: qv4l2: 'Set Defaults' incorrectly initialized string controls.
Author:  Hans Verkuil <[email protected]>
Date:    Fri Oct 14 12:14:36 2011 +0200

The wrong QString constructor was used: the 'size' comes before the
character, not the other way around.

Signed-off-by: Hans Verkuil <[email protected]>
(cherry picked from commit 04d0f3ca84c3041011a2d301c169bdd15a3f116e)

Signed-off-by: Gregor Jasny <[email protected]>

 utils/qv4l2/ctrl-tab.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=8ee31a23c52ee0218284b8df9ecd59fad877ce7d

diff --git a/utils/qv4l2/ctrl-tab.cpp b/utils/qv4l2/ctrl-tab.cpp
index 56cf28f..2e3ac5f 100644
--- a/utils/qv4l2/ctrl-tab.cpp
+++ b/utils/qv4l2/ctrl-tab.cpp
@@ -784,7 +784,7 @@ void ApplicationWindow::setDefaults(unsigned ctrl_class)
                if (m_ctrlMap[id].type == V4L2_CTRL_TYPE_INTEGER64)
                        setVal64(id, 0);
                else if (m_ctrlMap[id].type == V4L2_CTRL_TYPE_STRING)
-                       setString(id, QString(' ', m_ctrlMap[id].minimum));
+                       setString(id, QString(m_ctrlMap[id].minimum, ' '));
                else if (m_ctrlMap[id].type != V4L2_CTRL_TYPE_BUTTON)
                        setVal(id, m_ctrlMap[id].default_value);
        }

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to