From 33491bc4279481db8ae47213e34a6d695a0e8830 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 6 Jul 2014 02:16:10 +0200 Subject: Imported Upstream version 0.9.10.0 --- examples/C/qt/monitor-nm-running.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/C/qt/monitor-nm-running.cpp') diff --git a/examples/C/qt/monitor-nm-running.cpp b/examples/C/qt/monitor-nm-running.cpp index 861f251e..cf597b54 100644 --- a/examples/C/qt/monitor-nm-running.cpp +++ b/examples/C/qt/monitor-nm-running.cpp @@ -51,13 +51,13 @@ class NMWatcher: public QObject { void NMWatcher::serviceRegistered(const QString& name) { - std::cout << "Name '" << name.toStdString() << "' registered" + std::cout << "Name '" << name.toUtf8().constData() << "' registered" << " => NM is running" << std::endl; } void NMWatcher::serviceUnregistered(const QString& name) { - std::cout << "Name '" << name.toStdString() << "' unregistered" + std::cout << "Name '" << name.toUtf8().constData() << "' unregistered" << " => NM is not running" << std::endl; } -- cgit 1.3.0-6-gf8a5