[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-17 8:04:57
Message-ID: 20101117080457.5E3A7AC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1197956 by momeny:
Fixed a crash on exit
M +2 -0 mainwindow.cpp
--- trunk/KDE/kdepim/blogilo/src/mainwindow.cpp #1197955:1197956
@@ -139,11 +139,13 @@
if( !DBMan::self()->clearTempEntries() )
kDebug()<<"Could not erase temp_post table: "<< DBMan::self()->lastErrorText();
int count = tabPosts->count();
+ if(count > 0) {
toolbox->getFieldsValue(activePost->currentPost());
for(int i =0; i<count; ++i) {
PostEntry* pst = qobject_cast<PostEntry*>(tabPosts->widget(i));
DBMan::self()->saveTempEntry(*pst->currentPost(), pst->currentPostBlogId());
}
+ }
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic