Prevent crash if archive format is invalid
Throw exception instead and display it's error message
This commit is contained in:
parent
c6ea4d19c9
commit
4b6fe61083
2 changed files with 10 additions and 4 deletions
|
@ -546,10 +546,7 @@ public:
|
|||
|
||||
void export_print(const std::string &fname,
|
||||
const ThumbnailsList &thumbnails,
|
||||
const std::string &projectname = "")
|
||||
{
|
||||
m_archiver->export_print(fname, *this, thumbnails, projectname);
|
||||
}
|
||||
const std::string &projectname = "");
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue