mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: initialize all KIO::SlaveBasePrivate members before connecting the slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b2d0b1a955
commit
5a270d4864
2 changed files with 1 additions and 3 deletions
|
@ -230,11 +230,10 @@ SlaveBase::SlaveBase( const QByteArray &protocol,
|
||||||
d->last_tv.tv_usec = 0;
|
d->last_tv.tv_usec = 0;
|
||||||
d->totalSize=0;
|
d->totalSize=0;
|
||||||
d->timeout = 0;
|
d->timeout = 0;
|
||||||
connectSlave(QFile::decodeName(app_socket));
|
|
||||||
|
|
||||||
d->remotefile = 0;
|
d->remotefile = 0;
|
||||||
d->inOpenLoop = false;
|
d->inOpenLoop = false;
|
||||||
d->exit_loop = false;
|
d->exit_loop = false;
|
||||||
|
connectSlave(QFile::decodeName(app_socket));
|
||||||
}
|
}
|
||||||
|
|
||||||
SlaveBase::~SlaveBase()
|
SlaveBase::~SlaveBase()
|
||||||
|
|
|
@ -160,7 +160,6 @@ Q_SIGNALS:
|
||||||
void mimeType( const QString & );
|
void mimeType( const QString & );
|
||||||
void warning( const QString & );
|
void warning( const QString & );
|
||||||
void infoMessage( const QString & );
|
void infoMessage( const QString & );
|
||||||
//void connectFinished(); //it does not get emitted anywhere
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/////////////////
|
/////////////////
|
||||||
|
|
Loading…
Add table
Reference in a new issue