Ignore:
Timestamp:
Nov 25, 2008, 5:27:14 PM (16 years ago)
Author:
garnier
Message:

See History

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/basic/src/G4UIQt.cc

    r876 r889  
    2525//
    2626//
    27 // $Id: G4UIQt.cc,v 1.22 2008/11/06 10:06:33 lgarnier Exp $
     27// $Id: G4UIQt.cc,v 1.24 2008/11/24 13:50:34 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    106106{
    107107  G4Qt* interactorManager = G4Qt::getInstance (argc,argv,(char*)"Qt");
     108  if (!(QApplication*)interactorManager->GetMainInteractor()) {
     109    G4cout        << "G4UIQt : Unable to init Qt. Aborted" << G4endl;
     110  }
     111 
    108112  G4UImanager* UI = G4UImanager::GetUIpointer();
    109113  if(UI!=NULL) UI->SetSession(this);
     
    224228  // Add a quit subMenu
    225229  QPopupMenu *fileMenu = new QPopupMenu( fMainWindow);
    226   fileMenu->insertItem( "&Quitter",  this, SLOT(ExitSession()), CTRL+Key_Q );
     230  fileMenu->insertItem( "&Quit",  this, SLOT(ExitSession()), CTRL+Key_Q );
    227231  fMainWindow->menuBar()->insertItem( QString("&File"), fileMenu );
    228232
     
    237241  // Add a quit subMenu
    238242  QMenu *fileMenu = fMainWindow->menuBar()->addMenu("File");
    239   fileMenu->addAction("Quitter", this, SLOT(ExitSession()));
     243  fileMenu->addAction("Quit", this, SLOT(ExitSession()));
    240244
    241245  // Add a Help menu
Note: See TracChangeset for help on using the changeset viewer.