From b124ba25d8da86e094124c0d091b202d54d6cfe9 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Fri, 13 Dec 2013 15:00:56 +0000 Subject: [PATCH] Removed empty argument constructor from setEffect call for bootsequence Former-commit-id: cc46278cb2b9db725ae367f49464d361ce06e670 --- src/hyperiond/hyperiond.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp index 4481c226..c0b50cb1 100644 --- a/src/hyperiond/hyperiond.cpp +++ b/src/hyperiond/hyperiond.cpp @@ -105,7 +105,7 @@ int main(int argc, char** argv) // int retVal = -1; // QMetaObject::invokeMethod(hyperion, "setEffect", Q_RETURN_ARG(int, retVal), Q_ARG(std::string, effectName), Q_ARG(Json::Value, Json::Value()), Q_ARG(int, priority), Q_ARG(int, duration_ms)); // if (retVal == 0) - if (hyperion.setEffect(effectName, Json::Value(), priority, duration_ms) == 0) + if (hyperion.setEffect(effectName, priority, duration_ms) == 0) { std::cout << "Boot sequence created and started" << std::endl; }