History

don't exit app in full screen or hdm mode

ZappoMan committed 11 years ago

Commit fe9fab61 parent 711f9f63 files · +71 −39Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+1−0
@@ -438,6 +438,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 437 unmodified lines
438438
439439 void Application::aboutToQuit() {
440440 _aboutToQuit = true;
441+ setFullscreen(false); // if you exit while in full screen, you'll get bad behavior when you restart.
441442 }
442443
443444 Application::~Application() {