diff --git a/src/qml/property.cpp b/src/qml/property.cpp index 7c3c330..725b843 100644 --- a/src/qml/property.cpp +++ b/src/qml/property.cpp @@ -1,5 +1,5 @@ /** - * @file property.cpp + * @file qml/property.cpp * @brief Statefs property binding * @copyright (C) 2012-2014 Jolla Ltd. * @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html diff --git a/src/qml/property.hpp b/src/qml/property.hpp index 38e3634..7b88a0e 100644 --- a/src/qml/property.hpp +++ b/src/qml/property.hpp @@ -1,7 +1,7 @@ #ifndef _STATEFS_QML_PROPERTY_HPP_ #define _STATEFS_QML_PROPERTY_HPP_ /** - * @file property.cpp + * @file qml/property.hpp * @brief Statefs property binding * @copyright (C) 2012-2014 Jolla Ltd. * @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html diff --git a/tools/monitor/monitor.cpp b/tools/monitor/monitor.cpp index 660bf98..fd2485f 100644 --- a/tools/monitor/monitor.cpp +++ b/tools/monitor/monitor.cpp @@ -23,7 +23,9 @@ static int sigFd[2]; void onExit(int) { char a = 1; - ::write(sigFd[0], &a, sizeof(a)); + if (::write(sigFd[0], &a, sizeof(a)) < 0) { + // ignore + } } int usage(QStringList const &args, int rc) @@ -51,7 +53,7 @@ void monitorProps(QStringList keys) for (auto name : keys) { auto p = new DiscreteProperty(name, app); app->connect(p, &DiscreteProperty::changed, [name](QVariant v) { - debug::info(name, "=", v); + debug::print(name, "=", v); }); } }