[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/blogilo/src
From: Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date: 2010-11-23 8:56:34
Message-ID: 20101123085634.87658AC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1199933 by momeny:
BUG:257673 FIXED, This was Blogilo bug, Sorry :|
M +3 -3 toolbox.cpp
--- trunk/KDE/kdepim/blogilo/src/toolbox.cpp #1199932:1199933
@@ -224,11 +224,12 @@
if( KMessageBox::warningYesNoCancel(this, i18n( "Removing a post from your blog \
cannot be undone.\ \nAre you sure you want to remove the post with title \"%1\" from \
your blog?", lstEntriesList->currentItem()->text() )) == KMessageBox::Yes) {
- BilboPost post = DBMan::self()->getPostInfo( \
lstEntriesList->currentItem()->data(32).toInt() ); + BilboPost *post = new \
BilboPost( DBMan::self()->getPostInfo( lstEntriesList->currentItem()-> + \
data(32).toInt() ) ); Backend *b = new Backend( d->mCurrentBlogId, this);
connect(b, SIGNAL(sigPostRemoved(int,const BilboPost&)), this, \
SLOT(slotPostRemoved(int,const BilboPost&)) );
connect(b, SIGNAL(sigError(const QString&)), this, SLOT(slotError(const \
QString&)));
- b->removePost(&post);
+ b->removePost(post);
d->statusbar->showMessage( i18n( "Removing post..." ) );
}
}
@@ -242,7 +243,6 @@
sender()->deleteLater();
}
-
void Toolbox::slotError(const QString& errorMessage)
{
KMessageBox::detailedError( this, i18n( "An error occurred in the latest \
transaction." ), errorMessage );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic