SVN commit 1088490 by weilbach: Backport cleanups. M +2 -3 stylegetter.cpp --- branches/KDE/4.4/kdepim/blogilo/src/composer/stylegetter.cpp #1088489:1088490 @@ -82,7 +82,6 @@ b = new Backend( blogid ); connect( b, SIGNAL( sigPostPublished( int, BilboPost* ) ), this, SLOT( sltTempPostPublished( int, BilboPost* ) ) ); -// connect( b, SIGNAL( sigPostFetched( BilboPost * ) ), this, SLOT( sltTempPostFetched( BilboPost * ) ) ); connect( b, SIGNAL( sigError( const QString& ) ), this, SLOT( sltError( const QString& ) ) ); Q_EMIT sigGetStyleProgress( 10 ); @@ -160,9 +159,9 @@ mTempPost = post; KIO::StoredTransferJob *job = KIO::storedGet( postUrl, KIO::NoReload, KIO::HideProgressInfo ); - connect( job, SIGNAL( result( KJob* ) ), this, SLOT( sltHtmlCopied( KJob* ) ) ); + } void StyleGetter::sltHtmlCopied( KJob *job ) @@ -212,9 +211,9 @@ //Remove temp post from the server. - b->removePost( *mTempPost ); connect( b, SIGNAL( sigPostRemoved( int, const BilboPost &) ), this, SLOT( sltTempPostRemoved( int, const BilboPost & ) ) ); + b->removePost( *mTempPost ); } void StyleGetter::sltTempPostRemoved( int blog_id, const BilboPost &post)