StelMainWindow.cpp   StelMainWindow.cpp 
skipping to change at line 104 skipping to change at line 104
setFullScreen(true); setFullScreen(true);
} }
else else
{ {
setFullScreen(false); setFullScreen(false);
int x = conf->value("video/screen_x", 0).toInt(); int x = conf->value("video/screen_x", 0).toInt();
int y = conf->value("video/screen_y", 0).toInt(); int y = conf->value("video/screen_y", 0).toInt();
move(x, y); move(x, y);
} }
show(); show();
// Process the event to make the window visible and create the openG L context. // Process the event to make the window visible and create the rende rer.
QCoreApplication::processEvents(); QCoreApplication::processEvents();
mainGraphicsView->init(conf); mainGraphicsView->init(conf);
} }
void StelMainWindow::deinit() void StelMainWindow::deinit()
{ {
mainGraphicsView->deinitGL(); mainGraphicsView->deinit();
} }
// Alternate fullscreen mode/windowed mode if possible // Alternate fullscreen mode/windowed mode if possible
void StelMainWindow::toggleFullScreen() void StelMainWindow::toggleFullScreen()
{ {
// Toggle full screen // Toggle full screen
if (getFullScreen()) if (getFullScreen())
{ {
setFullScreen(false); setFullScreen(false);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 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/