Commit 2bd18d46 authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent da5c63e5
......@@ -2671,7 +2671,7 @@ void ViewerPrivate::slotAttachmentEdit()
void ViewerPrivate::slotAttachmentEditDone( MessageViewer::EditorWatcher* editorWatcher )
{
QString name = editorWatcher->url().fileName();
const QString name = editorWatcher->url().fileName();
if ( editorWatcher->fileChanged() ) {
QFile file( name );
if ( file.open( QIODevice::ReadOnly ) ) {
......
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