mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
Do the time properly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16528 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -78,3 +78,9 @@ void Call::sendDTMF(QString digit)
|
||||
QMessageBox::critical(0, QWidget::tr("DTMF Error"), QWidget::tr("There was an error sending DTMF, please report this bug."), QMessageBox::Ok);
|
||||
}
|
||||
}
|
||||
|
||||
QTime Call::getCurrentStateTime()
|
||||
{
|
||||
int now = QDateTime::fromTime_t(_answered_epoch).secsTo(QDateTime::currentDateTime());
|
||||
return QTime::fromString(QString::number(now), "s");
|
||||
}
|
||||
|
Reference in New Issue
Block a user