aboutsummaryrefslogtreecommitdiffstats
path: root/attachments.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-10-05 19:54:33 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-10-05 19:54:33 +0000
commita3871904220dcac97f2e84f121eab3e58ab30af0 (patch)
tree0e02aa97305fce6828b900a53180f8a1dab03d4a /attachments.cpp
parentnow checked keys in the mainwindow's keylist are also checked in the fileencr... (diff)
downloadgpg4usb-a3871904220dcac97f2e84f121eab3e58ab30af0.tar.gz
gpg4usb-a3871904220dcac97f2e84f121eab3e58ab30af0.zip
check attachmentfolder for files all 5 sec
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@381 34ebc366-c3a9-4b3c-9f84-69acf7962910
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()) {