Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
da5c63e5
Commit
da5c63e5
authored
Dec 05, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signal/Slot
parent
9cd9579e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
messageviewer/viewer/viewer_p.cpp
messageviewer/viewer/viewer_p.cpp
+2
-2
messageviewer/viewer/viewer_p.h
messageviewer/viewer/viewer_p.h
+1
-1
No files found.
messageviewer/viewer/viewer_p.cpp
View file @
da5c63e5
...
...
@@ -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
()
)
{
...
...
messageviewer/viewer/viewer_p.h
View file @
da5c63e5
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment