author | eilers <eilers> | 2004-03-31 15:11:38 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-03-31 15:11:38 (UTC) |
commit | 10ed731c865d41955bf2aeb721cad592cd56b545 (patch) (side-by-side diff) | |
tree | 2c05853293b3e0a1020a51bb84a804e0074e2c2b /libopie2/opiecore/device/odevice.cpp | |
parent | 0a56adea03683be6066622bbbbae1f0b8c73db12 (diff) | |
download | opie-10ed731c865d41955bf2aeb721cad592cd56b545.zip opie-10ed731c865d41955bf2aeb721cad592cd56b545.tar.gz opie-10ed731c865d41955bf2aeb721cad592cd56b545.tar.bz2 |
Fixed small bug, causes some crashes at startup: qDebug("... %s"); is bad.. ;)
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index f3e2cfb..1ad0327 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp @@ -84,25 +84,25 @@ ODevice *ODevice::inst() if ( line.contains( "sharp", false ) ) dev = new Private::Zaurus(); else if ( line.contains( "ipaq", false ) ) dev = new Private::iPAQ(); else if ( line.contains( "simpad", false ) ) dev = new Private::SIMpad(); else if ( line.contains( "jornada", false ) ) dev = new Private::Jornada(); else if ( line.contains( "ramses", false ) ) dev = new Private::Ramses(); else qWarning( "ODevice() - unknown hardware - using default." ); break; } } } else { - qWarning( "ODevice() - can't open '%s' - unknown hardware - using default." ); + qWarning( "ODevice() - can't open '%s' - unknown hardware - using default.", PATH_PROC_CPUINFO ); } if ( !dev ) dev = new ODevice(); dev->init(); } return dev; } ODevice::ODevice() { d = new ODeviceData; d->m_modelstr = "Unknown"; |