From 2278aaa445b5f50edbcb3f3cc6baa8142a5d145a Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 7 Feb 2016 14:59:21 +0100 Subject: seoma more refactoring --- attachments.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'attachments.cpp') 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/"; -- cgit v1.2.3