Skip to content

Commit

Permalink
Use defines
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadAG committed Sep 7, 2012
1 parent 41796dc commit c76161e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions camera.cpp
Expand Up @@ -8,10 +8,10 @@ Camera::Camera(QObject *parent) :
void Camera::disconnectSignals()
{
QDBusConnection bus = QDBusConnection::sessionBus();
bus.disconnect("com.nokia.maemo.CameraService", "/", "com.nokia.maemo.meegotouch.CameraInterface",
bus.disconnect(CAMERA_SERVICE, "/", CAMERA_INTERFACE,
"captureCanceled", this, SLOT(captureCanceled(QString)));

bus.disconnect("com.nokia.maemo.CameraService", "/", "com.nokia.maemo.meegotouch.CameraInterface",
bus.disconnect(CAMERA_SERVICE, "/", CAMERA_INTERFACE,
"captureCompleted", this, SLOT(captureCompleted(QString,QString)));
}

Expand Down

0 comments on commit c76161e

Please sign in to comment.