diff options
| author | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
| commit | 3ce667b6ee6b86291bbe60ef93cba7f11a5c5400 (patch) | |
| tree | af3daa7221e898b72f3de26eb2cf0c1b1c8661b0 /examples/C/qt/monitor-nm-running.cpp | |
| parent | f02d31d95af29678092d1ff01f714621bc9dcc0f (diff) | |
| parent | 33491bc4279481db8ae47213e34a6d695a0e8830 (diff) | |
Merge tag 'upstream/0.9.10.0'
Upstream version 0.9.10.0
Diffstat (limited to 'examples/C/qt/monitor-nm-running.cpp')
| -rw-r--r-- | examples/C/qt/monitor-nm-running.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |