Commit 7c590a04 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.

REVIEW: 120219
parent 9b96116e
......@@ -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
KalziumDataObject::instance();
......
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