From a3871904220dcac97f2e84f121eab3e58ab30af0 Mon Sep 17 00:00:00 2001 From: ubbo Date: Tue, 5 Oct 2010 19:54:33 +0000 Subject: check attachmentfolder for files all 5 sec git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@381 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- attachments.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'attachments.cpp') 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()) { -- cgit v1.2.3