Minor changes.

This commit is contained in:
Joao Mesquita 2010-04-05 03:05:56 -03:00
parent 1b919f2c6f
commit b9d5c62b3d
2 changed files with 4 additions and 4 deletions

View File

@ -82,11 +82,12 @@ private slots:
void minimalModuleLoaded(QString, QString);
private:
/* Helper methods */
void createFolders();
void printEventHeaders(switch_event_t *event);
/*FSM State handlers*/
/**Channel Related*/
/** Channel Related*/
void eventChannelCreate(switch_event_t *event, QString uuid);
void eventChannelAnswer(switch_event_t *event, QString uuid);
void eventChannelState(switch_event_t *event, QString uuid);
@ -101,12 +102,12 @@ private:
void eventChannelHangupComplete(switch_event_t *event, QString uuid);
void eventChannelDestroy(switch_event_t *event, QString uuid);
/**Others*/
/** Others*/
void eventCodec(switch_event_t *event, QString uuid);
void eventCallUpdate(switch_event_t *event, QString uuid);
void eventRecvInfo(switch_event_t *event, QString uuid);
/*END*/
/* Structures to keep track of things */
QHash<QString, QSharedPointer<Call> > _active_calls;
QHash<QString, QSharedPointer<Account> > _accounts;
QHash<QString, QSharedPointer<Channel> > _channels;

View File

@ -131,7 +131,6 @@ void MainWindow::updateCallTimers()
{
QTableWidgetItem* item = ui->tableCalls->item(row, 2);
QSharedPointer<Call> call = g_FSHost.getCallByUUID(item->data(Qt::UserRole).toString());
/*if (call.data() == NULL) continue;*/
QTime time = call.data()->getCurrentStateTime();
item->setText(time.toString("hh:mm:ss"));
item->setTextAlignment(Qt::AlignRight);