mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
bug-fix: make path before exporting PDF
This commit is contained in:
parent
6d24f7e92b
commit
3ce7ef28c1
@ -156,10 +156,10 @@ VNote中,几乎一切都是可以定制的,例如背景颜色、字体以及
|
|||||||
# 捐赠
|
# 捐赠
|
||||||
您可以通过很多途径帮助VNote的开发。
|
您可以通过很多途径帮助VNote的开发。
|
||||||
|
|
||||||
- 持续关注VNote并反馈;
|
- 持续关注VNote并反馈。
|
||||||
- 向您的朋友们推广和传播VNote。普及度是驱动开发者的一股强大力量。
|
- 向您的朋友们推广和传播VNote。普及度是驱动开发者的一股强大力量。
|
||||||
- 参与到VNote的开发中,发送PullRequest来帮助VNote变得更完美。
|
- 参与到VNote的开发中,发送PullRequest来帮助VNote变得更完美。
|
||||||
- 最后,非常感谢您的捐赠如果您觉得VNote真的帮助到您并且想回馈VNote。
|
- 最后,如果您觉得VNote真的帮助到您并且想回馈VNote,非常感谢您的捐赠。
|
||||||
- PayPal: [PayPal.Me/vnotemd](https://www.paypal.me/vnotemd)
|
- PayPal: [PayPal.Me/vnotemd](https://www.paypal.me/vnotemd)
|
||||||
- 支付宝: `tamlokveer@gmail.com`
|
- 支付宝: `tamlokveer@gmail.com`
|
||||||

|

|
||||||
|
@ -557,6 +557,11 @@ int VExportDialog::doExportPDF(VFile *p_file,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!VUtils::makePath(p_outputFolder)) {
|
||||||
|
LOGERR(tr("Fail to create directory %1.").arg(p_outputFolder));
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// Get output file.
|
// Get output file.
|
||||||
QString suffix = ".pdf";
|
QString suffix = ".pdf";
|
||||||
QString name = VUtils::getFileNameWithSequence(p_outputFolder,
|
QString name = VUtils::getFileNameWithSequence(p_outputFolder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user