[kmobiletools] branches/extragear/kde3/pim/kmobiletools/kmobiletools/engines/gammu_engine

Marco Gulino marco at kmobiletools.org
Tue Jun 5 17:21:20 CEST 2007


SVN commit 671824 by gulino:

Replacing deprecated QString::data() with latin().
matlec: please review this.


 M  +1 -1      device.cpp  


--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/engines/gammu_engine/device.cpp #671823:671824
@@ -572,7 +572,7 @@
     GSM_CallShowNumber showNumber = GSM_CALL_DefaultNumberPresence;
 
     m_mutex.lock();
-    m_error = m_phoneFunctions->DialVoice( &m_stateMachine, (char*) number.data(),
+    m_error = m_phoneFunctions->DialVoice( &m_stateMachine, (char*) number.latin1(),
                                            showNumber );
     if( m_error != ERR_NONE ) {
         printErrorMessage( m_error, "dial" );


More information about the kmobiletools mailing list