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

List:       kde-commits
Subject:    groupwise_in_anger: kdenetwork/kopete/protocols/groupwise
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2004-09-01 8:49:17
Message-ID: 20040901084917.6EA371D91 () office ! kde ! org
[Download RAW message or body]

CVS commit by wstephens: 

Fix crash when QCA-TLS is not found


  M +11 -0     gwaccount.cpp   1.1.1.1.2.27


--- kdenetwork/kopete/protocols/groupwise/gwaccount.cpp  #1.1.1.1.2.26:1.1.1.1.2.27
@@ -189,4 +189,15 @@ void GroupWiseAccount::connectWithPasswo
                 return;
         }
+        bool sslPossible = QCA::isSupported(QCA::CAP_TLS);
+
+        if (!sslPossible)
+        {
+                KMessageBox::queuedMessageBox(Kopete::UI::Global::mainWidget (), \
KMessageBox::Error, +                                                        i18n \
("SSL support could not be initialized for account %1. This is most likely because \
the QCA TLS plugin is not installed on your system."). +                              \
arg(myself()->contactId()), +                                                        \
i18n ("GroupWise SSL Error")); +                return;
+        }
+
         // set up network classes
         m_connector = new KNetworkConnector( 0 );


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

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