From 465eb3107bb32ad7ab2d726d8a510538fca56764 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 31 Aug 2005 10:47:03 +0000 Subject: diminish error message --- (limited to 'noncore/settings/sysinfo') diff --git a/noncore/settings/sysinfo/devicesinfo.cpp b/noncore/settings/sysinfo/devicesinfo.cpp index 176d178..164d608 100644 --- a/noncore/settings/sysinfo/devicesinfo.cpp +++ b/noncore/settings/sysinfo/devicesinfo.cpp @@ -146,7 +146,7 @@ void CpuCategory::populate() QFile cpuinfofile( "/proc/cpuinfo" ); if ( !cpuinfofile.exists() || !cpuinfofile.open( IO_ReadOnly ) ) { - new CpuDevice( this, "ERROR: /proc/cpuinfo not found or unaccessible" ); + new CpuDevice( this, "(no cpu found)" ); return; } QTextStream cpuinfo( &cpuinfofile ); @@ -232,7 +232,7 @@ void UsbCategory::populate() QFile usbinfofile( "/proc/bus/usb/devices" ); if ( !usbinfofile.exists() || !usbinfofile.open( IO_ReadOnly ) ) { - new UsbDevice( this, "ERROR: /proc/bus/usb/devices not found or unaccessible" ); + new UsbDevice( this, "(no USB found)" ); return; } QTextStream usbinfo( &usbinfofile ); -- cgit v0.9.0.2