Permalink
Browse files

Force the GUI and video widget to be raised when shown initially.

  • Loading branch information...
Frédéric Devernay authored and marlam committed Dec 19, 2010
1 parent 846b773 commit a7956ce741144b1bb007109487eca86da5e01e49
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/player_qt.cpp
  2. +1 −0 src/video_output_opengl_qt.cpp
View
@@ -613,6 +613,7 @@ main_window::main_window(QSettings *settings, const player_init_data &init_data)
help_menu->addAction(help_about_act);
show(); // Must happen before opening initial files!
+ raise();
// Player and timer
_player = new player_qt_internal(_video_container_widget);
@@ -371,6 +371,7 @@ void video_output_opengl_qt::open(
_widget->show();
_container_widget->show();
+ _container_widget->raise();
}
void video_output_opengl_qt::activate()

0 comments on commit a7956ce

Please sign in to comment.