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
|
// on utilise le repertoire du projet a exporter si possible
|
||||||
if (!project_ -> filePath().isEmpty()) {
|
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
|
// la taille minimale du dialogue est fixee
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ void TitleBlockTemplateLogoManager::emitLogosChangedSignal() {
|
|||||||
Initialize widgets composing the Logo manager
|
Initialize widgets composing the Logo manager
|
||||||
*/
|
*/
|
||||||
void TitleBlockTemplateLogoManager::initWidgets() {
|
void TitleBlockTemplateLogoManager::initWidgets() {
|
||||||
open_dialog_dir_ = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
open_dialog_dir_.setPath(QStandardPaths::writableLocation(QStandardPaths::DesktopLocation));
|
||||||
|
|
||||||
setWindowTitle(tr("Gestionnaire de logos"));
|
setWindowTitle(tr("Gestionnaire de logos"));
|
||||||
setWindowIcon(QET::Icons::InsertImage);
|
setWindowIcon(QET::Icons::InsertImage);
|
||||||
|
|||||||
Reference in New Issue
Block a user