summaryrefslogtreecommitdiff
authorzecke <zecke>2004-08-20 21:59:48 (UTC)
committer zecke <zecke>2004-08-20 21:59:48 (UTC)
commite67b6a8748af0856d77eeb46048d36e58314793e (patch) (side-by-side diff)
tree284808173f9574c3c466eb8c65865bd7aed6de2d
parentda08f45abfb5e74c390d12736d3db9e8050068a2 (diff)
downloadopie-e67b6a8748af0856d77eeb46048d36e58314793e.zip
opie-e67b6a8748af0856d77eeb46048d36e58314793e.tar.gz
opie-e67b6a8748af0856d77eeb46048d36e58314793e.tar.bz2
back out unintentional change. Use an unknown ODevice instead
of Internal::Zaurus
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index 835586e..b58f9eb 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -134,33 +134,33 @@ ODevice *ODevice::inst()
qDebug( "ODevice() - found '%s'", (const char*) line );
cpu_info = line;
if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus();
else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ();
else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad();
else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada();
else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses();
else qWarning( "ODevice() - unknown hardware - using default." );
break;
}
}
}
else
{
qWarning( "ODevice() - can't open '%s' - unknown hardware - using default.", PATH_PROC_CPUINFO );
}
- if ( !dev ) dev = new Internal::Zaurus();
+ if ( !dev ) dev = new ODevice();
dev->init(cpu_info);
}
return dev;
}
ODevice::ODevice()
{
d = new ODeviceData;
d->m_modelstr = "Unknown";
d->m_model = Model_Unknown;
d->m_vendorstr = "Unknown";
d->m_vendor = Vendor_Unknown;
d->m_systemstr = "Unknown";
d->m_system = System_Unknown;
d->m_sysverstr = "0.0";