Modifications sur les choix des dossiers cibles par defaut lors des operations d'ouverture et d'enregistrement de fichiers.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@722 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-07-13 00:59:46 +00:00
parent 21ac12f5da
commit 0adac494c8
5 changed files with 20 additions and 4 deletions

View File

@@ -650,7 +650,7 @@ bool ProjectView::saveAs() {
QString filepath = QFileDialog::getSaveFileName(
this,
tr("Enregistrer sous", "dialog title"),
(project_ -> filePath().isEmpty() ? QDir::homePath() : QDir(project_ -> filePath())).absolutePath(),
project_ -> currentDir(),
tr("Sch\351ma QElectroTech (*.qet)", "filetypes allowed when saving a diagram file")
);