Commit 433d1eac authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Initialize copyJob just in case

parent 9d450161
......@@ -2473,7 +2473,7 @@ bool Part::saveAs( const QUrl & saveUrl, SaveAsFlags flags )
tf.close();
QScopedPointer<QTemporaryFile> tempFile;
KIO::Job *copyJob; // this will be filled with the job that writes to saveUrl
KIO::Job *copyJob = nullptr; // this will be filled with the job that writes to saveUrl
// Does the user want a .okular archive?
if ( flags & SaveAsOkularArchive )
......
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