Commit da5c63e5 authored by Laurent Montel's avatar Laurent Montel 😁

Fix signal/Slot

parent 9cd9579e
......@@ -503,7 +503,7 @@ bool ViewerPrivate::editAttachment( KMime::Content * node, bool showWarning )
MessageViewer::EditorWatcher::NoOpenWithDialog, this, mMainWindow );
mEditorWatchers[ watcher ] = node;
connect( watcher, SIGNAL(editDone(EditorWatcher*)), SLOT(slotAttachmentEditDone(EditorWatcher*)) );
connect( watcher, SIGNAL(editDone(MessageViewer::EditorWatcher*)), SLOT(slotAttachmentEditDone(MessageViewer::EditorWatcher*)) );
if ( !watcher->start() ) {
mEditorWatchers.remove( watcher );
QFile::remove( file.fileName() );
......@@ -2669,7 +2669,7 @@ void ViewerPrivate::slotAttachmentEdit()
}
void ViewerPrivate::slotAttachmentEditDone( EditorWatcher* editorWatcher )
void ViewerPrivate::slotAttachmentEditDone( MessageViewer::EditorWatcher* editorWatcher )
{
QString name = editorWatcher->url().fileName();
if ( editorWatcher->fileChanged() ) {
......
......@@ -560,7 +560,7 @@ public slots:
void slotAttachmentCopy();
void slotAttachmentDelete();
void slotAttachmentEdit();
void slotAttachmentEditDone(EditorWatcher* editorWatcher);
void slotAttachmentEditDone(MessageViewer::EditorWatcher* editorWatcher);
void slotLevelQuote( int l );
/** Toggle display mode between HTML and plain text. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment