Commit a8add18e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open Disc, use a completer for Linux, windows already has its autoprobing.

parent da528d5b
...@@ -255,7 +255,11 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -255,7 +255,11 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
} }
SetErrorMode(oldMode); SetErrorMode(oldMode);
} }
#endif /* Disc Probing under Windows */ #else /* Disc Probing under Windows */
QCompleter *discCompleter = new QCompleter( this );
discCompleter->setModel( new QDirModel( discCompleter ) );
ui.deviceCombo->setCompleter( discCompleter );
#endif
/* CONNECTs */ /* CONNECTs */
BUTTONACT( ui.dvdRadioButton, updateButtons() ); BUTTONACT( ui.dvdRadioButton, updateButtons() );
......
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