#6345 Fix missing QFileDialog prefix

This commit is contained in:
Magne Sjaastad 2020-08-21 19:12:46 +02:00
parent 665b475e9f
commit ff202014d7

View File

@ -79,9 +79,9 @@ QString RiuFileDialogTools::getOpenFileName( QWidget* parent /*= nullptr*/
QString* selectedFilter /*= nullptr */ )
{
#ifdef WIN32
return getOpenFileName( parent, caption, dir, filter, selectedFilter );
return QFileDialog::getOpenFileName( parent, caption, dir, filter, selectedFilter );
#else
auto options = QFileDialog::DontUseNativeDialog;
return getOpenFileName( parent, caption, dir, filter, selectedFilter, options );
return QFileDialog::getOpenFileName( parent, caption, dir, filter, selectedFilter, options );
#endif
}