StelMainGraphicsView.hpp   StelMainGraphicsView.hpp 
skipping to change at line 110 skipping to change at line 110
float getMinFps() {return minfps;} float getMinFps() {return minfps;}
//! Set the maximum frames per second. //! Set the maximum frames per second.
//! @param m the new maximum fps setting. //! @param m the new maximum fps setting.
void setMaxFps(float m) {maxfps = m;} void setMaxFps(float m) {maxfps = m;}
//! Get the current maximum frames per second. //! Get the current maximum frames per second.
float getMaxFps() {return maxfps;} float getMaxFps() {return maxfps;}
//! Updates the scene and process all events //! Updates the scene and process all events
void updateScene() { void updateScene() {
//#ifdef QT_MAC_USE_COCOA #ifdef QT_MAC_USE_COCOA
// This call solves the problems with the qt event d //This call solves the problems with the qt event d
ispatche. The stack grew huge and many events were discarded ispatcher. The stack grew huge and many events were discarded
// http://bugreports.qt.nokia.com/browse/QTBUG-7502 //http://bugreports.qt.nokia.com/browse/QTBUG-7502
// QCoreApplication::processEvents(QEventLoop::AllEvent //The previous bug has been closed an fixed but thi
s); s line is still needed. The patch didn't solve our problem
//#endif QCoreApplication::processEvents(QEventLoop::AllEvent
s);
#endif
scene()->update(); scene()->update();
} }
protected: protected:
virtual void resizeEvent(QResizeEvent* event); virtual void resizeEvent(QResizeEvent* event);
virtual void mouseMoveEvent(QMouseEvent* event); virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event); virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event); virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void keyPressEvent(QKeyEvent* event); virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event); virtual void keyReleaseEvent(QKeyEvent* event);
 End of changes. 1 change blocks. 
7 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/