summaryrefslogtreecommitdiff
path: root/src/camera.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cc')
-rw-r--r--src/camera.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/camera.cc b/src/camera.cc
index ac23fc9..0ba3da9 100644
--- a/src/camera.cc
+++ b/src/camera.cc
@@ -142,14 +142,9 @@ void Camera::snapshot()
encoder->shoot();
}
-bool Camera::hasError()
+Error *Camera::errorObject()
{
- return errorstatus->hasError();
-}
-
-string Camera::getErrorString()
-{
- return errorstatus->getErrorString();
+ return errorstatus;
}
#endif/* USE_GUI */