summaryrefslogtreecommitdiffstats
path: root/k9devices
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-03 19:28:42 -0500
committerTimothy Pearson <[email protected]>2012-05-03 19:28:42 -0500
commita8e98ad9ce209af0aba35ce26ec9200761b397df (patch)
treea3af3b0761b9beae9fa06efd31d4bd173ba17370 /k9devices
parentd9ed8b3291e596eafed777956a062dc8816d0d3c (diff)
downloadk9copy-a8e98ad9ce209af0aba35ce26ec9200761b397df.tar.gz
k9copy-a8e98ad9ce209af0aba35ce26ec9200761b397df.zip
Fix remaining string format errors
Diffstat (limited to 'k9devices')
-rw-r--r--k9devices/k9halconnection.cpp2
-rw-r--r--k9devices/k9haldevice.cpp2
2 files changed, 2 insertions, 2 deletions
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);