diff options
Diffstat (limited to 'attachments.cpp')
-rw-r--r-- | attachments.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/attachments.cpp b/attachments.cpp index a30f33e..1110464 100644 --- a/attachments.cpp +++ b/attachments.cpp @@ -83,7 +83,7 @@ void Attachments::createActions() openFileAct = new QAction(tr("Open File"), this); openFileAct->setToolTip(tr("Open this file")); openFileAct->setIcon(QIcon(":fileopen.png")); - connect(openFileAct, SIGNAL(triggered()), this, SLOT(openFile())); + connect(openFileAct, SIGNAL(triggered()), this, SLOT(slotOpenFile())); } @@ -136,7 +136,7 @@ void Attachments::saveByteArrayToFile(QByteArray outBuffer, QString filename) * - ask for cleanup of dir on exit * - remove code-duplication with saveByteArrayToFile */ -void Attachments::openFile() { +void Attachments::slotOpenFile() { // TODO: make attachmentdir constant or configurable QString attachmentDir = qApp->applicationDirPath() + "/attachments/"; |