Commit 287791bb authored by Martin Walch's avatar Martin Walch

Fix bug #338666: "Kalzium crashes when selecting >File >Export Data..."

Problem is easy to spot with valgrind:
The private ExportDialog *m_exportDialog is not explicitely initialized
with 0, so later calling "if (!m_exportDialog)" may fail.

This accidentally slipped in with a header cleanup (commit d36687d5...)

Easy fix: initialize the pointer with 0 just like all the others.

BUG: 338666
FIXED-IN: 4.14.2
parent 8a79657e
......@@ -86,6 +86,7 @@ Kalzium::Kalzium() : KXmlGuiWindow( 0 )
m_tablesDialog = 0;
m_rsDialog = 0;
m_calculator = 0;
m_exportDialog = 0;
// reading the elements from file
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