]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
HYDRO bug 17: add HYDRO version in About dialog.
authorouv <ouv@opencascade.com>
Wed, 11 Sep 2013 09:52:46 +0000 (09:52 +0000)
committerouv <ouv@opencascade.com>
Wed, 11 Sep 2013 09:52:46 +0000 (09:52 +0000)
src/HYDROGUI/HYDROGUI_Module.cxx

index ee2dfa1fe29c1cc50e9c1b606126af661e06a38d..491c9c3d23695ca701476304f5ef4bd2a55719c9 100644 (file)
@@ -70,7 +70,7 @@ extern "C" HYDRO_EXPORT CAM_Module* createModule()
 
 extern "C" HYDRO_EXPORT char* getModuleVersion()
 {
-  return "0.1";
+  return QString( "0.1" ).toLatin1().data();
 }
 
 HYDROGUI_Module::HYDROGUI_Module()