diff --git a/sources/exportdialog.cpp b/sources/exportdialog.cpp index 4fa544196..f9fb0a38b 100644 --- a/sources/exportdialog.cpp +++ b/sources/exportdialog.cpp @@ -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 diff --git a/sources/titleblock/templatelogomanager.cpp b/sources/titleblock/templatelogomanager.cpp index ed43ec286..dd16e159c 100644 --- a/sources/titleblock/templatelogomanager.cpp +++ b/sources/titleblock/templatelogomanager.cpp @@ -72,7 +72,7 @@ void TitleBlockTemplateLogoManager::emitLogosChangedSignal() { Initialize widgets composing the Logo manager */ void TitleBlockTemplateLogoManager::initWidgets() { - open_dialog_dir_ = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); + open_dialog_dir_.setPath(QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)); setWindowTitle(tr("Gestionnaire de logos")); setWindowIcon(QET::Icons::InsertImage);