]> Some of my projects - aniplayer-old.git/commitdiff
- When shutting down, hide the gui immediately without waiting for scheduled tasks...
authorAPTX <APTX@.(none)>
Sun, 30 Aug 2009 11:28:56 +0000 (13:28 +0200)
committerAPTX <APTX@.(none)>
Sun, 30 Aug 2009 11:28:56 +0000 (13:28 +0200)
src/videowindow.cpp

index 8e0cbdbeba5b941cf73e1a18f419e79c66a2c78d..23695f9a39a5fa1e05b2fff2fd2afcb9a3407219 100644 (file)
@@ -181,6 +181,9 @@ VideoWindow::~VideoWindow()
        destroyed = true;
        // HAX
        videoPlayer->setCurrentSource(Phonon::MediaSource());
+
+       hide();
+       menu->hide();
 }
 
 QString VideoWindow::currentFile() const