diff options
author | nils <[email protected]> | 2016-02-07 13:59:21 +0000 |
---|---|---|
committer | nils <[email protected]> | 2016-02-07 13:59:21 +0000 |
commit | 2278aaa445b5f50edbcb3f3cc6baa8142a5d145a (patch) | |
tree | 3285461b9d3cc7766620017a1b305c7480a33670 /attachments.cpp | |
parent | refactored slots and signals (diff) | |
download | gpg4usb-2278aaa445b5f50edbcb3f3cc6baa8142a5d145a.tar.gz gpg4usb-2278aaa445b5f50edbcb3f3cc6baa8142a5d145a.zip |
seoma more refactoring
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/"; |