diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2010-12-15 22:12:06 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2010-12-15 22:12:06 +0200 |
commit | a286aafb7ea93d979ae95f9c63dc07735e42ec14 (patch) | |
tree | 8aa3f2922a159300e5958ed9eeb2500b786639bd | |
parent | 57a52725c11a0b66d44e8c4462df249a3e28d367 (diff) |
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.
-rw-r--r-- | 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(); } } |