]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Small fix of previous bad integration.
authorjfa <jfa@opencascade.com>
Mon, 6 Feb 2006 16:22:47 +0000 (16:22 +0000)
committerjfa <jfa@opencascade.com>
Mon, 6 Feb 2006 16:22:47 +0000 (16:22 +0000)
src/VISUGUI/VisuGUI_Prs3dTools.h
src/VISUGUI/VisuGUI_Tools.cxx
src/VISUGUI/VisuGUI_ViewTools.h

index ab12f3353e6f311635306d3a7a7743169fd845c6..7984a698872fe2e76323cec325b3bfd8c56adbb7 100644 (file)
@@ -68,7 +68,7 @@ namespace VISU
          INFOS(exc.what());
          SUIT_MessageBox::warn1
            (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-            QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": pammy1 " + QObject::tr(exc.what()),
+            QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": " + QObject::tr(exc.what()),
             QObject::tr("BUT_OK"));
 
          aPrs3d->RemoveActors();
index 970ef60407ad80e3aac9933503840f11fce59d34..978a4c24f0c010ad7cf0e2e503b9de443cd9308c 100644 (file)
@@ -760,7 +760,7 @@ namespace VISU
       }catch(std::exception& exc){
        SUIT_MessageBox::warn1
           (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-           QObject::tr("ERR_CANT_CREATE_ACTOR") + ": pammy2 " + QObject::tr(exc.what()),
+           QObject::tr("ERR_CANT_CREATE_ACTOR") + ": " + QObject::tr(exc.what()),
            QObject::tr("BUT_OK"));
       }
       QApplication::restoreOverrideCursor();
@@ -798,7 +798,7 @@ namespace VISU
             INFOS(exc.what());
             SUIT_MessageBox::warn1
               (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-               QObject::tr("ERR_CANT_CREATE_ACTOR") + ": pammy3 " + QObject::tr(exc.what()),
+               QObject::tr("ERR_CANT_CREATE_ACTOR") + ": " + QObject::tr(exc.what()),
                QObject::tr("BUT_OK"));
           }
         } else if (theDispOnly) {
@@ -884,7 +884,7 @@ namespace VISU
       QApplication::restoreOverrideCursor();
       SUIT_MessageBox::warn1
         (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-         QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": pammy4 " + QObject::tr(exc.what()),
+         QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": " + QObject::tr(exc.what()),
          QObject::tr("BUT_OK"));
 
       thePrs->RemoveActors();
@@ -1276,7 +1276,7 @@ namespace VISU
         INFOS(exc.what());
         SUIT_MessageBox::warn1
           (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-           QObject::tr("ERR_CANT_CREATE_ACTOR") + ": pammy5 " + QObject::tr(exc.what()),
+           QObject::tr("ERR_CANT_CREATE_ACTOR") + ": " + QObject::tr(exc.what()),
            QObject::tr("BUT_OK"));
       }
     }
index d70ee509a0c5ebbe4da74e8a0b54c2a90b181410..f10bf63e9a5ee9e442e82c94967aa191dd359286 100644 (file)
@@ -113,7 +113,7 @@ namespace VISU
        INFOS(exc.what());
        SUIT_MessageBox::warn1
          (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-          QObject::tr("ERR_CANT_CREATE_ACTOR") + ": pammy6 " + QObject::tr(exc.what()),
+          QObject::tr("ERR_CANT_CREATE_ACTOR") + ": " + QObject::tr(exc.what()),
           QObject::tr("BUT_OK"));
       }
     }
@@ -148,7 +148,7 @@ namespace VISU
                QApplication::restoreOverrideCursor();
                SUIT_MessageBox::warn1
                  (GetDesktop(theModule), QObject::tr("WRN_VISU"),
-                  QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": pammy7 " + QObject::tr(exc.what()),
+                  QObject::tr("ERR_CANT_BUILD_PRESENTATION") + ": " + QObject::tr(exc.what()),
                   QObject::tr("BUT_OK"));
 
                thePrs->RemoveActors();