mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
fix deprecated warning QDir& QDir::operator=(const QString&)
This function is obsolete. Use QDir::setPath() instead instead.
This commit is contained in:
committed by
Laurent Trinques
parent
9ee911e484
commit
09006dc75f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user