[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/kontact/plugins/newsticker
From: Allen Winter <winter () kde ! org>
Date: 2006-03-19 15:53:12
Message-ID: 1142783592.646372.22933.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 520326 by winterz:
couldn't hurt
M +6 -4 summarywidget.cpp
--- branches/KDE/3.5/kdepim/kontact/plugins/newsticker/summarywidget.cpp #520325:520326
@@ -140,8 +140,9 @@
connectDCOPSignal( "rssservice", feedRef.obj(), "documentUpdated(DCOPRef)",
"documentUpdated(DCOPRef)", false );
- qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
- QEventLoop::ExcludeSocketNotifiers );
+ if ( qApp )
+ qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
+ QEventLoop::ExcludeSocketNotifiers );
}
updateDocuments();
@@ -167,8 +168,9 @@
DCOPRef artRef = feedRef.call( "article(int)", i );
QString title, url;
- qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
- QEventLoop::ExcludeSocketNotifiers );
+ if ( qApp )
+ qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
+ QEventLoop::ExcludeSocketNotifiers );
artRef.call( "title()" ).get( title );
artRef.call( "link()" ).get( url );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic