Bugfix: When user has been registered succesfully all informations stays in registera...
[speedfreak] / Client / httpclient.cpp
index 12e681a..9c32c38 100644 (file)
@@ -306,7 +306,10 @@ void HttpClient::ackOfRegistration()
     else {
         qDebug() << "errorcode=0" << errorcode << reply->errorString();
         if(myMainw->settingsDialog)
+        {
             QMessageBox::about(myMainw->settingsDialog, "Server reply to registration", "User registration " + reply->readAll());
+            myMainw->settingsDialog->clearRegisterLineEdits();
+        }
     }
 }