[OpenSIPStack] errorInfo given by Event_OutgoingCallRejected
Brought to you by:
joegenbaclor
From: GCC <vir...@in...> - 2007-08-09 13:13:52
|
Hello, When I try to display the information of the object errorInfo, I sometimes get some weird characters. The following is how I did it: ================================================== void LoginDialog::Event_OutgoingCallRejected( int errorCode, const OString & errorInfo ) { emit outCallRejected( errorInfo.c_str() ); } And I use the expression: connect( this, SIGNAL( outCallRejected( const char * ) ), this, SLOT( setCallFail( const char * ) ) ); =============================================== void LoginDialog::setCallFail( const char *eInfo ) { OStringStream tempEI; tempEI << "> Error: " << eInfo << "\n"; m_OverallStatus->textCursor().insertText( tempEI.str().c_str() ); } The same problem seems to occur in other pure virtual functions. The screenshot of the problem is here: http://img249.imageshack.us/img249/8875/weirdpn3.jpg Can anyone help me fix it? Regards, GCC |