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

List:       kde-commits
Subject:    branches/work/kdab-post-4.0/kdepim
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2007-12-10 14:00:10
Message-ID: 1197295210.988392.2392.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 746872 by staniek:

revert this silly change applied by me before fixing 'SVN switch' problem

CCMAIL:kde-pim@kde.org
CCMAIL:marc@kdab.net



 M  +1 -1      kmail/keyresolver.cpp  
 M  +3 -1      libkleo/backends/qgpgme/qgpgmejob.cpp  


--- branches/work/kdab-post-4.0/kdepim/kmail/keyresolver.cpp #746871:746872
@@ -1358,7 +1358,7 @@
 std::vector<GpgME::Key> Kleo::KeyResolver::selectKeys( const QString & person, const \
QString & msg, const std::vector<GpgME::Key> & selectedKeys ) const {  \
Kleo::KeySelectionDialog dlg( i18n("Encryption Key Selection"),  msg, selectedKeys,
-				Kleo::KeySelectionDialog::ValidTrustedEncryptionKeys,
+				Kleo::KeySelectionDialog::ValidEncryptionKeys,
 				true, true ); // multi-selection and "remember choice" box
 
   if ( dlg.exec() != QDialog::Accepted )
--- branches/work/kdab-post-4.0/kdepim/libkleo/backends/qgpgme/qgpgmejob.cpp \
#746871:746872 @@ -51,6 +51,8 @@
 #include <QStringList>
 #include <QEventLoop>
 
+#include <algorithm>
+
 #include <assert.h>
 #include <string.h>
 
@@ -188,7 +190,7 @@
     mPatterns[mPatternEndIndex] = mReplacedPattern;
     mReplacedPattern = 0;
   }
-  mChunkSize = qMin( chunksize, mNumPatterns );
+  mChunkSize = std::min( chunksize, mNumPatterns );
   mPatternStartIndex = 0;
   mPatternEndIndex = mChunkSize;
   mReplacedPattern = mPatterns[mPatternEndIndex];


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

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