mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +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:
@@ -130,9 +130,10 @@ void MainWindow::updateCallTimers()
|
||||
for(int row=0; row<ui->tableCalls->rowCount(); row++)
|
||||
{
|
||||
QTableWidgetItem* item = ui->tableCalls->item(row, 2);
|
||||
QTime time = QTime::fromString(item->text(),"hh:mm:ss");
|
||||
time = time.addSecs(1);
|
||||
QSharedPointer<Call> call = g_FSHost.getCallByUUID(item->data(Qt::UserRole).toString());
|
||||
QTime time = call.data()->getCurrentStateTime();
|
||||
item->setText(time.toString("hh:mm:ss"));
|
||||
item->setTextAlignment(Qt::AlignRight);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user