]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.cxx
parameterizing settings path and settings format in constructor
[clitk.git] / vv / vvMainWindow.cxx
index 95df533c63e923238f85f943c6fb5857932a858c..5225a036664de71c6f85b9046904aa0a71ac28f1 100644 (file)
@@ -331,7 +331,7 @@ vvMainWindow::vvMainWindow():vvMainWindowBase()
 
 void vvMainWindow::show(){
   vvMainWindowBase::show();
-  vvRegisterForm* registerForm = new vvRegisterForm(QUrl("http://localhost/vvregister/write.php"));
+  vvRegisterForm* registerForm = new vvRegisterForm(QUrl("http://localhost/vvregister/write.php"), getVVSettingsPath(), getSettingsOptionFormat());
   if(registerForm->canPush()){
     registerForm->show();
     registerForm->acquitPushed();//too bad if there is not internet connection anymore.