Skip to content

Commit

Permalink
Delete all SMS's in state "received read" or "stored sent" from SIM
Browse files Browse the repository at this point in the history
  • Loading branch information
Franky Van Liedekerke committed Apr 22, 2009
1 parent 5992118 commit d9eb3b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/qtopiaphonemodem/qmodemsmsreader.cpp
Expand Up @@ -574,6 +574,8 @@ void QModemSMSReader::storeListDone( bool ok, const QAtResult& result )
d->pendingPosn = 0;
nextMessage();
}
// Delete all SMS's in state "received read" or "stored sent" from SIM
d->service->primaryAtChat()->chat( "AT+CMGD=0,2" );
}

void QModemSMSReader::fetchMessages()
Expand Down

0 comments on commit d9eb3b8

Please sign in to comment.