Change InputStream class name and minor fix in open function
This commit is contained in:
1 parent
cf9edc1b59
commit
aaaeb9da14
10 files changed
+52
-52
No files matched your search
@@ -189,14 +189,14 @@ Void plaYUVerApp::loadFile( QString fileName )
|
||||
Void plaYUVerApp::open()
|
||||
{
|
||||
QString supported = tr( "Supported Files" );
|
||||
QString formats = InputStream::supportedReadFormats();
|
||||
QString formats = PlaYUVerStream::supportedReadFormats();
|
||||
formats.prepend( " (" );
|
||||
formats.append( ")" );
|
||||
supported.append( formats ); // supported=="Supported Files (*.pbm *.jpg...)"
|
||||
|
||||
QStringList filter;
|
||||
filter << supported
|
||||
<< InputStream::supportedReadFormatsList()
|
||||
<< PlaYUVerStream::supportedReadFormatsList()
|
||||
<< tr( "All Files (*)" );
|
||||
|
||||
QString fileName = QFileDialog::getOpenFileName( this, tr( "Open File" ), m_cLastOpenPath, filter.join( ";;" ) );
|
||||
|
||||
Reference in new issue
Block a user