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

List:       kde-commits
Subject:    KDE/kdepim/kleopatra/crypto
From:       Guy Maurel <guy-kde () maurel ! de>
Date:       2009-11-15 14:40:38
Message-ID: 1258296038.730289.25470.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1049600 by guymaurel:

remove the not used functions "iconForSignature" and "color"

 M  +0 -24     decryptverifytask.cpp  


--- trunk/KDE/kdepim/kleopatra/crypto/decryptverifytask.cpp #1049599:1049600
@@ -279,30 +279,6 @@
                   strikeOut( output, outputDeleted ) );
 }
 
-static const char * iconForSignature( const Signature & sig ) {
-    if ( sig.summary() & Signature::Green )
-        return "dialog-ok";
-    if ( sig.summary() & Signature::Red )
-        return "dialog-error";
-    return "dialog-warning";
-}
-
-static QColor color( const DecryptionResult & dr, const VerificationResult & vr ) {
-    if ( !dr.isNull() && dr.error() )
-        return Qt::red;
-    if ( !vr.isNull() && vr.error() )
-        return Qt::red;
-    return Qt::gray;
-}
-
-static QColor color( const Signature & sig ) {
-    if ( sig.summary() & GpgME::Signature::Red )
-        return Qt::red;
-    if ( sig.summary() & GpgME::Signature::Green )
-        return Qt::green;
-    return Qt::yellow;
-}
-
 static bool IsErrorOrCanceled( const GpgME::Error & err )
 {
     return err || err.isCanceled();
[prev in list] [next in list] [prev in thread] [next in thread] 

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