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

List:       kde-commits
Subject:    playground/base/nepomuk-kde/scribo/plugins/opencalais
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2009-06-19 7:29:46
Message-ID: 1245396586.035267.32285.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 983784 by trueg:

a little bit of fake async operation

 M  +5 -0      opencalaistextmatchplugin.cpp  


--- trunk/playground/base/nepomuk-kde/scribo/plugins/opencalais/opencalaistextmatchplugin.cpp \
#983783:983784 @@ -38,7 +38,9 @@
 #include <KDebug>
 #include <KPluginFactory>
 
+#include <QtCore/QCoreApplication>
 
+
 OpenCalaisTextMatchPlugin::OpenCalaisTextMatchPlugin( QObject* parent, const \
QVariantList& )  : TextMatchPlugin( parent ),
       m_lookupJob( 0 )
@@ -168,6 +170,9 @@
                     addNewMatch( s );
                 }
             }
+
+            // a little bit of fake async
+            QCoreApplication::processEvents();
         }
     }
     else {


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

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