Commit 72b4b711 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Correctly fix #1746 on Windows. Special for Trax :D

parent 8f75e265
...@@ -66,11 +66,15 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -66,11 +66,15 @@ OpenDialog::OpenDialog( QWidget *parent,
{ {
i_action_flag = _action_flag; i_action_flag = _action_flag;
setWindowModality( Qt::WindowModal ); /* Workaround the Win32 Vout that put the video on top at regular times */
#ifdef WIN32
setWindowFlags( Qt::WindowStaysOnTopHint | Qt::Dialog );
#endif
if( b_selectMode ) /* Select mode */ if( b_selectMode ) /* Select mode */
{ {
i_action_flag = SELECT; i_action_flag = SELECT;
setWindowModality( Qt::WindowModal );
} }
/* Basic Creation of the Window */ /* Basic Creation of the Window */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment