Skip to content

Commit

Permalink
Merge pull request #1384 from jpfleury/20122-export-pdf
Browse files Browse the repository at this point in the history
fix #20122: [Linux] Export as pdf impossible, cannot determine file type
  • Loading branch information
lasconic committed Oct 19, 2014
2 parents 5c98513 + e2d09d1 commit c8642c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ bool MuseScore::exportFile()
saveDirectory = preferences.myScoresPath;
}

QString name = QString("%1/%2").arg(saveDirectory).arg(cs->name());
QString name = QString("%1/%2.pdf").arg(saveDirectory).arg(cs->name());
QString filter = fl.join(";;");
QString fn = getSaveScoreName(saveDialogTitle, name, filter);
if (fn.isEmpty())
Expand Down Expand Up @@ -1590,7 +1590,7 @@ bool MuseScore::exportParts()
saveDirectory = preferences.myScoresPath;
}

QString name = QString("%1/%2").arg(saveDirectory).arg(cs->name());
QString name = QString("%1/%2.pdf").arg(saveDirectory).arg(cs->name());
QString filter = fl.join(";;");
QString fn = getSaveScoreName(saveDialogTitle, name, filter);
if (fn.isEmpty())
Expand Down

0 comments on commit c8642c2

Please sign in to comment.