Ticket #1976: qtopia-redial-last-call.patch

File qtopia-redial-last-call.patch, 699 bytes (added by Treviño, 11 years ago)

Redial the latest dialed number - Touchscreen keypad patch.

  • src/server/phone/dialer/touch/dialer.cpp

    diff --git a/src/server/phone/dialer/touch/dialer.cpp b/src/server/phone/dialer/touch/dialer.cpp
    index d913b5b..dee0ac4 100644
    a b void Dialer::numberSelected() 
    395395 
    396396void Dialer::numberSelected( const QString &number ) 
    397397{ 
     398    if (number.isEmpty()) { 
     399        QValueSpaceItem calls("/Communications/Calls"); 
     400        number = calls.value("LastDialedCall").toString(); 
     401        setDigits(number); 
     402    } else { 
    398403    // Filter for special GSM key sequences. 
    399     if (!number.isEmpty()) { 
    400404        bool filtered = false; 
    401405        emit filterSelect( number, filtered ); 
    402406        if (!filtered)