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

List:       kde-commits
Subject:    KDE/kdepim/libkleo/backends/qgpgme
From:       Marc Mutz <mutz () kde ! org>
Date:       2007-07-27 11:54:50
Message-ID: 1185537290.171758.14532.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 693193 by mutz:

There's only one instance of GpgME::Data::null, and we're not supposed to pass that \
through a non-const Data&, are we? :)

 M  +2 -1      qgpgmekeygenerationjob.cpp  


--- trunk/KDE/kdepim/libkleo/backends/qgpgme/qgpgmekeygenerationjob.cpp \
#693192:693193 @@ -67,8 +67,9 @@
 
   hookupContextToEventLoopInteractor();
 
+  GpgME::Data null = GpgME::Data::null;
   const GpgME::Error err =
-    mCtx->startKeyGeneration( parameters.toUtf8().data(), mPubKey ? *mPubKey : \
GpgME::Data::null ); +    mCtx->startKeyGeneration( parameters.toUtf8().data(), \
mPubKey ? *mPubKey : null );  
   if ( err )
     deleteLater();


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

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