diff -r 4a5361db8937 -r 7119b73b84d6 logsui/logsengine/src/logsdetailsmodel.cpp --- a/logsui/logsengine/src/logsdetailsmodel.cpp Tue May 04 12:39:37 2010 +0300 +++ b/logsui/logsengine/src/logsdetailsmodel.cpp Fri May 14 15:52:41 2010 +0300 @@ -242,6 +242,10 @@ QString LogsDetailsModel::getHeaderData(const LogsEvent& event) const { QString headerdata(event.remoteParty()); + if ( event.isRemotePartyPrivate() ){ + headerdata = hbTrId("txt_dial_dblist_call_id_val_privat_number"); + } + if ( headerdata.length() == 0 && event.number().length() > 0 ){ headerdata = event.number(); } @@ -307,27 +311,16 @@ // // ----------------------------------------------------------------------------- // -QString LogsDetailsModel::getHeaderValue(QString value,bool isRemote) const +QString LogsDetailsModel::getHeaderValue(QString /*value*/,bool isRemote) const { QString headervalue(""); - if (isAddress(value)){ - if ((isOutgoingCall() && isRemote)|| (!isOutgoingCall() && !isRemote)){ + if ((isOutgoingCall() && isRemote)|| (!isOutgoingCall() && !isRemote)){ headervalue = hbTrId("txt_dial_dblist_callee_id"); - } - else{ - headervalue = hbTrId("txt_dialer_ui_dblist_call_id"); - } - } - else { - if ((isOutgoingCall() && isRemote)|| (!isOutgoingCall() && !isRemote)) { - headervalue = hbTrId("txt_dial_dblist_callee_id"); - } - else { - headervalue = hbTrId("txt_dialer_ui_dblist_call_id"); - } } - - return headervalue; + else{ + headervalue = hbTrId("txt_dialer_ui_dblist_call_id"); + } + return headervalue; } // -----------------------------------------------------------------------------