------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=122827
kedgedev centrum cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From kedgedev centrum cz 2006-03-05 01:39 -------
SVN commit 515826 by rjarosz:
Fix bug 122827: crash in ICQ on disconnect due to connect elsewhere.
We were emitting signal from already deleted object.
Signal was removed because it wasn't used anyway.
BUG: 122827
M +0 -2 client.cpp
M +0 -1 closeconnectiontask.cpp
M +0 -5 closeconnectiontask.h
--- branches/kopete/0.12/kopete/protocols/oscar/liboscar/client.cpp
#515825:515826
@ -372,8 +372,6 @
//create a new connection and set it up
Connection* c = createConnection( d->host, QString::number( d->port ) );
d->closeConnectionTask = new CloseConnectionTask( c->rootTask() );
-// QObject::connect( d->closeConnectionTask, SIGNAL( disconnected( int,
const QString& ) ),
-// this, SLOT( disconnectionError( int, const QString& )
) );
//create the new login task
m_loginTaskTwo = new StageTwoLoginTask( c->rootTask() );
---
branches/kopete/0.12/kopete/protocols/oscar/liboscar/closeconnectiontask.cpp
#515825:515826
@ -90,7 +90,6 @
Oscar::SNAC s = { 0, 0, 0, 0 };
client()->fatalTaskError( s, errorNum );
- emit disconnected( errorNum, QString::null );
return true; //if there's an error, we'll need to
disconnect anyways
}
--- branches/kopete/0.12/kopete/protocols/oscar/liboscar/closeconnectiontask.h
#515825:515826
@ -30,7 +30,6 @
*/
class CloseConnectionTask : public Task
{
-Q_OBJECT
public:
CloseConnectionTask(Task* parent);
@ -47,10 +46,6 @
protected:
virtual bool forMe(const Transfer* transfer) const;
-signals:
- void disconnected( int error, const QString& reason );
-
-
private:
bool parseDisconnectCode( int error, QString& reason );
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel