From: <gk...@ke...> - 2010-12-18 10:52:36
|
Module: qt-gstreamer Branch: master Commit: a286aafb7ea93d979ae95f9c63dc07735e42ec14 URL: http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=a286aafb7ea93d979ae95f9c63dc07735e42ec14 Author: George Kiagiadakis <geo...@co...> Date: Wed Dec 15 22:12:06 2010 +0200 Do not warn in Value::get() if an error occurs. This is becase Value::get() may be expected to fail in certain cases, since there is the ok argument to check if it failed or not, so it's a perfectly allowed condition and no warning is needed. --- src/QGlib/value.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/QGlib/value.h b/src/QGlib/value.h index 950dcd1..308b350 100644 --- a/src/QGlib/value.h +++ b/src/QGlib/value.h @@ -247,7 +247,6 @@ T Value::get(bool *ok) const if (ok) { *ok = false; } - qWarning() << "QGlib::Value::get:" << e.what(); return T(); } } |