X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Flayouthandler.cpp;h=6aad54b12ea43c28e3a6a1db1f0f69083038d5a6;hb=505ec164e5174ddd838c0cac1e3e828930cb3b50;hp=b2bfd1760729d7e145e7e11b3948ee8947fda21f;hpb=2044d95f928fa42beaa00f9cb30816b1f6f63552;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/layouthandler.cpp b/HomeScreen/src/layouthandler.cpp index b2bfd17..6aad54b 100644 --- a/HomeScreen/src/layouthandler.cpp +++ b/HomeScreen/src/layouthandler.cpp @@ -33,7 +33,7 @@ LayoutHandler::LayoutHandler(QObject *parent) : "org.agl.windowmanager", "surfaceVisibilityChanged", this, - SLOT(surfaceVisibilityChanged(int,bool))); + SIGNAL(surfaceVisibilityChanged(int,bool))); } LayoutHandler::~LayoutHandler() @@ -277,7 +277,7 @@ void LayoutHandler::setLayoutByName(QString layoutName) void LayoutHandler::requestSurfaceVisibilityChanged(int surfaceId, bool visible) { qDebug("requestSurfaceVisibilityChanged %d %s", surfaceId, visible ? "true" : "false"); - surfaceVisibilityChanged(surfaceId, visible); + emit surfaceVisibilityChanged(surfaceId, visible); } void LayoutHandler::timerEvent(QTimerEvent *e)