mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
@ -300,9 +300,9 @@ QString CFileDialogWrapper::modalOpenSingle(const QString& path, const QString&
|
||||
|
||||
QStringList CFileDialogWrapper::modalOpenImage(const QString& path)
|
||||
{
|
||||
QString selected = tr("All Images") + " (*.jpeg *.jpg *.png *.gif *.bmp *.svg)";
|
||||
QString selected = tr("All Images") + " (*.jpeg *.jpg *.png *.gif *.bmp *.tiff *.tif *.svg)";
|
||||
QString filter = m_mapFilters[AVS_OFFICESTUDIO_FILE_UNKNOWN];
|
||||
filter.append(";;" + selected + ";;" + tr("Jpeg (*.jpeg *.jpg);;Png (*.png);;Gif (*.gif);;Bmp (*.bmp)"));
|
||||
filter.append(";;" + selected + ";;" + tr("Jpeg (*.jpeg *.jpg);;Png (*.png);;Gif (*.gif);;Bmp (*.bmp);;Tiff (*.tiff *.tif)"));
|
||||
filter.append(";;" + m_mapFilters[AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_SVG]);
|
||||
|
||||
return modalOpen(path, filter, &selected, false);
|
||||
|
||||
Reference in New Issue
Block a user