QFileDialg::selectedFilter() is obsolete in Qt4. Replace it with selectedNameFilter().

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-20 20:12:26 +01:00
committed by wmayer
parent 25e68f180c
commit eef82c47e7
2 changed files with 7 additions and 7 deletions

View File

@@ -1494,7 +1494,7 @@ void StdViewScreenShot::activated(int iMsg)
fd.setOptionsWidget(FileOptionsDialog::ExtensionRight, opt);
fd.setConfirmOverwrite(true);
opt->onSelectedFilter(fd.selectedFilter());
opt->onSelectedFilter(fd.selectedNameFilter());
QObject::connect(&fd, SIGNAL(filterSelected(const QString&)),
opt, SLOT(onSelectedFilter(const QString&)));