summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2010-12-15 22:12:06 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2010-12-15 22:12:06 +0200
commita286aafb7ea93d979ae95f9c63dc07735e42ec14 (patch)
tree8aa3f2922a159300e5958ed9eeb2500b786639bd
parent57a52725c11a0b66d44e8c4462df249a3e28d367 (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.h1
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();
}
}