Changeset 1150 for trunk/source


Ignore:
Timestamp:
Nov 3, 2009, 4:00:27 PM (15 years ago)
Author:
garnier
Message:

update

File:
1 edited

Legend:

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

    r1149 r1150  
    164164#else
    165165  fGLWindow->setLayout(mainLayout);
    166   //  fGLWindow->setWindowTitle( name);
    167 #endif
    168   //  ResizeWindow(fVP.GetWindowSizeHintX(),fVP.GetWindowSizeHintY());
     166  fGLWindow->setWindowTitle( name);
     167#endif
     168  ResizeWindow(fVP.GetWindowSizeHintX(),fVP.GetWindowSizeHintY());
    169169
    170170  //useful for MACOSX, we have to compt the menuBar height
     
    176176    YPos = offset;
    177177  }
    178   //  fGLWindow->resize(getWinWidth(), getWinHeight());
    179   //  fGLWindow->move(fVP.GetWindowAbsoluteLocationHintX(QApplication::desktop()->width()),YPos);
     178  fGLWindow->resize(getWinWidth(), getWinHeight());
     179  fGLWindow->move(fVP.GetWindowAbsoluteLocationHintX(QApplication::desktop()->width()),YPos);
    180180  fGLWindow->show();
    181181 
Note: See TracChangeset for help on using the changeset viewer.