From a8e98ad9ce209af0aba35ce26ec9200761b397df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 3 May 2012 19:28:42 -0500 Subject: Fix remaining string format errors --- k9devices/k9halconnection.cpp | 2 +- k9devices/k9haldevice.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'k9devices') diff --git a/k9devices/k9halconnection.cpp b/k9devices/k9halconnection.cpp index 76c6882..e55c0b3 100644 --- a/k9devices/k9halconnection.cpp +++ b/k9devices/k9halconnection.cpp @@ -41,7 +41,7 @@ k9HalConnection::k9HalConnection(TQObject *parent, const char *name) dbus_error_init( &error ); m_dbusConnect = dbus_bus_get( DBUS_BUS_SYSTEM, &error ); if( dbus_error_is_set(&error) ) { - tqDebug(TQString("Error connecting to DBUS : %1").arg(error.message)); + tqDebug("%s", (TQString("Error connecting to DBUS : %1").arg(error.message)).ascii()); return; } diff --git a/k9devices/k9haldevice.cpp b/k9devices/k9haldevice.cpp index 9ddff76..0129efe 100644 --- a/k9devices/k9haldevice.cpp +++ b/k9devices/k9haldevice.cpp @@ -95,7 +95,7 @@ void k9HalDevice::getDriveProperties() { m_canReadDvd=(caps & LIBHAL_DRIVE_CDROM_CAPS_DVDROM)==LIBHAL_DRIVE_CDROM_CAPS_DVDROM; m_canBurnDvd=(caps & LIBHAL_DRIVE_CDROM_CAPS_DVDR)==LIBHAL_DRIVE_CDROM_CAPS_DVDR; m_model=TQString(libhal_drive_get_model(drive)); - // tqDebug(TQString("canReadDvd:%1 canBurnDvd:%2 model:%3").arg(m_canReadDvd).arg(m_canBurnDvd).arg(m_model)); + // tqDebug("%s", (TQString("canReadDvd:%1 canBurnDvd:%2 model:%3").arg(m_canReadDvd).arg(m_canBurnDvd).arg(m_model)).ascii()); libhal_drive_free(drive); -- cgit v1.2.1