From 59d44b9e6f5b797329f8bb47711bd53bfcf9d7e4 Mon Sep 17 00:00:00 2001 From: Maxime Date: Mon, 9 May 2011 10:02:49 +0200 Subject: [PATCH] The Qdialog is now shown in front of the mainWindow (it was behind) --- vv/vvMainWindow.cxx | 11 +++++------ vv/vvMainWindow.h | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 7075b2c..d4c2976 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -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() { diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index e01bcec..22e2b55 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -152,6 +152,7 @@ public slots: } void UpdateRenderWindows(); void UpdateMemoryUsage(); + void show(); protected: -- 2.47.1