IndigoJo / qtm (http://qtm.blogistan.co.uk/)


A repository for the QTM blogging software
Clone URL : http://bitbucket.org/IndigoJo/qtm/ (size: 404.9 KB)
commit 109: a6170b9f0a2b
parent 108: 56b96e8f6cb2
branch: default
EditingWindow.cc - Now saves blog index when exporting, not blog ID
Matthew Smith / IndigoJo
3 months ago

Changed (Δ61 bytes):

raw changeset »

EditingWindow.cc (3 lines added, 2 lines removed)

Up to file-list EditingWindow.cc:

@@ -3023,7 +3023,7 @@ void EditingWindow::save( const QString
3023
3023
  }
3024
3024
3025
3025
  QTextStream out( &f );
3026
  out << "QTM saved blog entry v3.0\n";
3026
  out << (exp ? "QTM saved blog entry v2.0\n" : "QTM saved blog entry v3.0\n");
3027
3027
  out << QString( "Title:%1\n" ).arg( cw.leTitle->text() );
3028
3028
  out << QString( "Publish:%1\n" ).arg( QString::number( cw.cbStatus->currentIndex() ) );
3029
3029
  if( entryBlogged )
@@ -3035,7 +3035,7 @@ void EditingWindow::save( const QString
3035
3035
    out << QString( "Location:%1\n" ).arg( location );
3036
3036
    out << QString( "Login:%1\n" ).arg( login );
3037
3037
    out << QString( "Password:%1\n" ).arg( password );
3038
    out << QString( "Blog:%1\n" ).arg( currentBlogid );
3038
    out << QString( "Blog:%1\n" ).arg( cw.cbBlogSelector->currentIndex() );
3039
3039
  }
3040
3040
  else {
3041
3041
    out << QString( "AcctBlog:%1@%2 (%3)\n" ) // Include the blog name so it can be relayed to the user later
@@ -3482,6 +3482,7 @@ bool EditingWindow::load( const QString
3482
3482
      else {
3483
3483
        qDebug() << "now setting categories";
3484
3484
        if( blogs.at( currentBlog ).toElement().elementsByTagName( "category" ).count() ) {
3485
3485
3486
	    setLoadedPostCategories();
3486
3487
	    setPostClean();
3487
3488
	    return true;