From e21d14e42b10e642cdb46c6be1440d51b04170e4 Mon Sep 17 00:00:00 2001 From: konrad Date: Wed, 29 Sep 2010 19:58:50 +0000 Subject: [PATCH] adjust interface to changes in wob base git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@595 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- src/iface/msinterface.cpp | 5 ++--- src/iface/msinterface.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/iface/msinterface.cpp b/src/iface/msinterface.cpp index 8fdfdbd..9aaad32 100644 --- a/src/iface/msinterface.cpp +++ b/src/iface/msinterface.cpp @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include @@ -186,10 +186,9 @@ void MSInterface::initialize() script: ; } -void MSInterface::sslErrors(const QList&errs) +void MSInterface::sslErrors(QNetworkReply *src,const QList&errs) { //get source of error - QHttp*src=qobject_cast(sender()); if(!src)return; //check against known exceptions if(sslexcept->checksslexcept(errs)){ diff --git a/src/iface/msinterface.h b/src/iface/msinterface.h index 5fa9929..9f5abf0 100644 --- a/src/iface/msinterface.h +++ b/src/iface/msinterface.h @@ -82,7 +82,7 @@ class MSInterface:public MInterface /**sets the session id to be transmitted*/ void setSessionId(QString sid){m_sessid=sid;} /**handles SSL errors*/ - virtual void sslErrors(const QList&); + virtual void sslErrors(QNetworkReply *,const QList&); /**force template store to update its templates*/ void updateTemplates(); -- 1.7.2.5