summaryrefslogtreecommitdiff
authorpaule <paule>2007-06-13 08:44:48 (UTC)
committer paule <paule>2007-06-13 08:44:48 (UTC)
commit4b3ffb4d533f034513d5bd9cae497aa117b2afaf (patch) (side-by-side diff)
tree42d2d51f93eac1b0d53f626327f472a9a71de7b5
parent85dfcf4f5e7fb28990606b83a02043af19a8c15d (diff)
downloadopie-4b3ffb4d533f034513d5bd9cae497aa117b2afaf.zip
opie-4b3ffb4d533f034513d5bd9cae497aa117b2afaf.tar.gz
opie-4b3ffb4d533f034513d5bd9cae497aa117b2afaf.tar.bz2
Set vendor for HTC ODevice - patch by Marex (see bug #1855)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_htc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice_htc.cpp b/libopie2/opiecore/device/odevice_htc.cpp
index 7f82369..4bc8c49 100644
--- a/libopie2/opiecore/device/odevice_htc.cpp
+++ b/libopie2/opiecore/device/odevice_htc.cpp
@@ -121,32 +121,33 @@ struct htc_button htc_buttons_universal [] = {
// HTC-Universal (PXA-model w/ 480x640 3.6" lcd)
// HTC-Alpine (PXA-model w/ 240x320 3.5" lcd)
// HTC-Apache (PXA-model w/ 240x320 2.8" lcd)
// HTC-Beetles (PXA-model w/ 240x240 3.0" lcd)
// HTC-Blueangel (PXA-model w/ 240x320 3.5" lcd)
// HTC-Himalaya (PXA-model w/ 240x320 3.5" lcd)
// HTC-Magician (PXA-model w/ 240x320 2.8" lcd)
void HTC::init(const QString& cpu_info)
{
qDebug( "HTC::init()" );
// Set the time to wait until the system is really suspended
// the delta between apm --suspend and sleeping
setAPMTimeOut( 15000 );
d->m_vendorstr = "Xanadux Team";
+ d->m_vendor = Vendor_HTC;
d->m_systemstr = "Familiar";
d->m_system = System_Familiar;
// check the HTC model
QString model;
int loc = cpu_info.find( ":" );
if ( loc != -1 )
model = cpu_info.mid( loc+2 ).simplifyWhiteSpace();
else
model = cpu_info;
d->m_model = Model_HTC_Universal;
d->m_modelstr = "Unknown HTC";
if ( model == "HTC Universal" ) {
d->m_model = Model_HTC_Universal;