|
|
@ -227,12 +227,7 @@ TQString TDEGenericDevice::busID() {
|
|
|
|
TQString TDEGenericDevice::friendlyName() {
|
|
|
|
TQString TDEGenericDevice::friendlyName() {
|
|
|
|
if (m_friendlyName.isNull()) {
|
|
|
|
if (m_friendlyName.isNull()) {
|
|
|
|
if (type() == TDEGenericDeviceType::RootSystem) {
|
|
|
|
if (type() == TDEGenericDeviceType::RootSystem) {
|
|
|
|
#ifdef __linux__
|
|
|
|
|
|
|
|
m_friendlyName = i18n("Linux System");
|
|
|
|
|
|
|
|
#else // __linux__
|
|
|
|
|
|
|
|
// Just in case this somehow can be supported on a non-linux system
|
|
|
|
|
|
|
|
m_friendlyName = i18n("Local System");
|
|
|
|
m_friendlyName = i18n("Local System");
|
|
|
|
#endif // __linux__
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (type() == TDEGenericDeviceType::Root) {
|
|
|
|
else if (type() == TDEGenericDeviceType::Root) {
|
|
|
|
TQString friendlyDriverName = systemPath();
|
|
|
|
TQString friendlyDriverName = systemPath();
|
|
|
|