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

List:       kde-commits
Subject:    kdesupport/qca/plugins/qca-gnupg
From:       Justin Karneges <infiniti () affinix ! com>
Date:       2010-05-17 4:57:04
Message-ID: 20100517050218.59A16AC8B8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1127606 by infiniti:

return null event if waitForCondition times out


 M  +3 -0      gpgop.cpp  


--- trunk/kdesupport/qca/plugins/qca-gnupg/gpgop.cpp #1127605:1127606
@@ -1588,7 +1588,10 @@
 	d->waiting = true;
 	d->sync.waitForCondition(msecs);
 	d->waiting = false;
+	if(!d->eventList.isEmpty())
 	return d->eventList.takeFirst();
+	else
+		return GpgOp::Event();
 }
 
 bool GpgOp::success() const
[prev in list] [next in list] [prev in thread] [next in thread] 

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