[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.4/kdepim/blogilo/src/composer
From:       Christian Weilbach <christian () whiletaker ! homeip ! net>
Date:       2010-02-10 23:38:42
Message-ID: 1265845122.587363.28677.nullmailer () svn ! kde ! org
[Download RAW message or body]

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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic