diff options
-rw-r--r-- | attachments.cpp | 4 | ||||
-rw-r--r-- | attachments.h | 2 |
2 files changed, 3 insertions, 3 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/"; diff --git a/attachments.h b/attachments.h index 7b07634..5d72d9e 100644 --- a/attachments.h +++ b/attachments.h @@ -46,7 +46,7 @@ class Attachments : public QWidget public slots: void slotSaveFile(); - void openFile(); + void slotOpenFile(); public: Attachments(QWidget *parent = 0); |