aboutsummaryrefslogtreecommitdiffstats
path: root/attachments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'attachments.cpp')
-rw-r--r--attachments.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/attachments.cpp b/attachments.cpp
index 7480429..6018608 100644
--- a/attachments.cpp
+++ b/attachments.cpp
@@ -135,6 +135,7 @@ void Attachments::saveByteArrayToFile(QByteArray outBuffer, QString filename)
*/
void Attachments::openFile() {
+ // TODO: make attachmentdir constant or configurable
QString attachmentDir = qApp->applicationDirPath() + "/attachments/";
//QDir p = QDir(qApp->applicationDirPath() + "/attachments/");
if(!QDir(attachmentDir).exists()) {