Commit 17a4f625 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent e2123909
...@@ -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