diff options
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp b/knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp index 9ee78b6..67a0470 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-menuitem.cpp @@ -92,8 +92,8 @@ void NetworkMenuItem::slotActivate() NMProxy* nm = NMProxy::getInstance(); if (nm) { - kdDebug() << "Activate Connection " << d->conn->getObjectPath().data() << " on Device " << d->dev->getObjectPath().ascii() << endl; - printf("Activate Connection %s on Device %s\n", d->conn->getObjectPath().data(), d->dev->getObjectPath().ascii()); + kdDebug() << "Activate Connection " << d->conn->getObjectPath().ascii() << " on Device " << d->dev->getObjectPath().ascii() << endl; + printf("Activate Connection %s on Device %s\n", d->conn->getObjectPath().ascii(), d->dev->getObjectPath().ascii()); #if NM_CHECK_VERSION(0,8,992) if (nm->ActivateConnectionAsync(id, "org.freedesktop.NetworkManagerUserSettings", d->conn->getObjectPath(), TQT_DBusObjectPath(QCString(d->dev->getObjectPath())), d->conn->getObjectPath(), err)) @@ -110,7 +110,7 @@ void NetworkMenuItem::slotActivate() else if (d->conn) { // no device given, just take the default device - printf("Activate Connection %s on default device\n", d->conn->getObjectPath().data()); + printf("Activate Connection %s on default device\n", d->conn->getObjectPath().ascii()); TQT_DBusObjectPath act_conn = nm->getDefaultActiveConnection(); TQT_DBusObjectPath device = nm->getDeviceForActiveConnection(act_conn); vpn_attempt_this_conn = d->conn->getObjectPath(); |