Branch 'dev/submission' - mailtransport/servertest.cpp

Sandro Knauß knauss at kolabsys.com
Sat Jan 10 14:45:56 CET 2015


 mailtransport/servertest.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 56d684f3e8bdf338e23cbf46c57df44ebaa15e1a
Author: Sandro Knauß <knauss at kolabsys.com>
Date:   Sat Jan 10 14:43:29 2015 +0100

    delete custom ports, if the protocoll is changed
    
    Tsting multiple protocols and set custom ports for some protocols. Than
    you want to have the default ports, if you cange to another protocol.

diff --git a/mailtransport/servertest.cpp b/mailtransport/servertest.cpp
index 9f4f83d..666d99f 100644
--- a/mailtransport/servertest.cpp
+++ b/mailtransport/servertest.cpp
@@ -563,6 +563,7 @@ void ServerTest::setProgressBar( QProgressBar *pb )
 void ServerTest::setProtocol( const QString &protocol )
 {
   d->testProtocol = protocol;
+  d->customPorts.clear();
 }
 
 QString ServerTest::protocol()




More information about the commits mailing list