Ignore:
Timestamp:
Oct 2, 2008, 10:29:48 AM (16 years ago)
Author:
garnier
Message:

protection against no scene + Qapp could be now get on external app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r857 r858  
    317317
    318318  // launch Qt if not
    319   G4Qt* interactorManager = G4Qt::getInstance ();
     319  G4Qt::getInstance ();
    320320
    321321  fLastPos3 = QPoint(-1,-1);   
     
    689689#if QT_VERSION < 0x040000
    690690#if QT_VERSION < 0x030200
    691   QAction *movieParameters =  new QAction("&Movie parameters...","&Make movie ...",CTRL+Key_M,mActions,0,true);
    692 #else
    693   QAction *movieParameters =  new QAction("&Movie parameters...",CTRL+Key_M,mActions);
     691  QAction *movieParameters =  new QAction("&Make Movie...","&Make movie ...",CTRL+Key_M,mActions,0,true);
     692#else
     693  QAction *movieParameters =  new QAction("&Make Movie...",CTRL+Key_M,mActions);
    694694#endif
    695695  movieParameters->addTo(mActions);
     
    17101710  printf("should rescale \n");
    17111711#endif
    1712   GLfloat* feedback_buffer;
    1713   GLint returned;
    1714   FILE* file;
     1712  //  GLfloat* feedback_buffer;
     1713  //  GLint returned;
     1714  //  FILE* file;
    17151715 
    17161716//   feedback_buffer = new GLfloat[size];
Note: See TracChangeset for help on using the changeset viewer.