projects
/
profile
/
ivi
/
ofono-qt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae5a98
)
Simplify requestPropertyComplete logic in CallMeter
author
Alexander Kanavin
<alex.kanavin@gmail.com>
Fri, 5 Aug 2011 14:55:29 +0000
(17:55 +0300)
committer
Alexander Kanavin
<alex.kanavin@gmail.com>
Fri, 5 Aug 2011 15:11:32 +0000
(18:11 +0300)
lib/ofonocallmeter.cpp
patch
|
blob
|
history
diff --git
a/lib/ofonocallmeter.cpp
b/lib/ofonocallmeter.cpp
index
f3d8a11
..
9247311
100644
(file)
--- a/
lib/ofonocallmeter.cpp
+++ b/
lib/ofonocallmeter.cpp
@@
-48,7
+48,7
@@
void OfonoCallMeter::requestCallMeter()
void OfonoCallMeter::requestPropertyComplete(bool success, const QString& property, const QVariant& value)
{
if (property == "CallMeter") {
-
success ? emit callMeterComplete(true, value.value<uint>()) : emit callMeterComplete(false, 0
);
+
emit callMeterComplete(success, value.value<uint>()
);
}
}