fix deprecated warning QDir& QDir::operator=(const QString&)

This function is obsolete.

Use
QDir::setPath() instead
instead.
This commit is contained in:
Simon De Backer
2020-05-29 17:13:03 +02:00
committed by Laurent Trinques
parent 9ee911e484
commit 09006dc75f
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ ExportDialog::ExportDialog(QETProject *project, QWidget *parent) : QDialog(paren
// on utilise le repertoire du projet a exporter si possible
if (!project_ -> filePath().isEmpty()) {
default_export_properties.destination_directory = project_ -> currentDir();
default_export_properties.destination_directory.setPath(project_ -> currentDir());
}
// la taille minimale du dialogue est fixee