From f94e3f2b3cd982f825d5e485834ea9389060adaa Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 7 Feb 2016 14:04:17 +0100 Subject: refactored slots and signals --- attachments.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'attachments.cpp') diff --git a/attachments.cpp b/attachments.cpp index 8158da6..a30f33e 100644 --- a/attachments.cpp +++ b/attachments.cpp @@ -78,7 +78,7 @@ void Attachments::createActions() saveFileAct = new QAction(tr("Save File"), this); saveFileAct->setToolTip(tr("Save this file")); saveFileAct->setIcon(QIcon(":filesave.png")); - connect(saveFileAct, SIGNAL(triggered()), this, SLOT(saveFile())); + connect(saveFileAct, SIGNAL(triggered()), this, SLOT(slotSaveFile())); openFileAct = new QAction(tr("Open File"), this); openFileAct->setToolTip(tr("Open this file")); @@ -87,7 +87,7 @@ void Attachments::createActions() } -void Attachments::saveFile() +void Attachments::slotSaveFile() { QModelIndexList indexes = tableView->selectionModel()->selection().indexes(); -- cgit v1.2.3