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

List:       kde-commits
Subject:    KDE/kdepim/kleopatra/uiserver
From:       Marc Mutz <mutz () kde ! org>
Date:       2008-04-25 13:50:03
Message-ID: 1209131403.161968.13526.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 801026 by mutz:

Don't make it look like the construction of a shared_ptr from a weak_ptr here (that \
would be fatal, as this line is outside the try {} block, and shared_ptr(weak_ptr) \
throws if it can't lock the weak_ptr).

 M  +1 -1      prepencryptcommand.cpp  


--- trunk/KDE/kdepim/kleopatra/uiserver/prepencryptcommand.cpp #801025:801026
@@ -116,7 +116,7 @@
 
 void PrepEncryptCommand::Private::slotRecipientsResolved() {
     //hold local shared_ptr to member as q->done() deletes *this
-    const shared_ptr<EncryptEMailController> cont( controller );
+    const shared_ptr<EncryptEMailController> cont = controller;
     QPointer<Private> that( this );
 
     try {


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

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