]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.cxx
The Qdialog is now shown in front of the mainWindow (it was behind)
[clitk.git] / vv / vvMainWindow.cxx
index 7075b2c63544bd92760eaa4de2a5a57eb490d22a..d4c2976dc801beef46843fbf3f1217af8a7c01fa 100644 (file)
@@ -325,18 +325,17 @@ vvMainWindow::vvMainWindow():vvMainWindowBase()
   //timerMemory->setInterval(5);
   connect(timerMemory, SIGNAL(timeout()), this, SLOT(UpdateMemoryUsage()));
   timerMemory->start(2000);
-  
-  
+}
+//------------------------------------------------------------------------------
+
+void vvMainWindow::show(){
+ vvMainWindowBase::show();
   vvRegisterForm* registerForm = new vvRegisterForm(QUrl("http://localhost/vvregister/write.php"));
   if(registerForm->canPush()){
       registerForm->show();
       registerForm->acquitPushed();//too bad if there is not internet connection anymore.
   }
-  
 }
-//------------------------------------------------------------------------------
-
-
 //------------------------------------------------------------------------------
 void vvMainWindow::UpdateMemoryUsage()
 {