Commit f31b2d8f authored by Thorsten Zachmann's avatar Thorsten Zachmann

Fix crash due to uninitialized variable.

Remove unused variable.

Thanks to Lassi for the report.

CCMAIL: lassniem@gmail.com
parent cdc67a71
......@@ -55,6 +55,7 @@
KoPADocumentModel::KoPADocumentModel( QObject* parent, KoPADocument *document )
: KoDocumentSectionModel( parent )
, m_document(0)
, m_master(false)
, m_lastContainer( 0 )
{
......
......@@ -89,7 +89,6 @@ private:
bool doDrop(QList<KoPAPageBase *> pages, KoPAPageBase *pageAfter, Qt::DropAction action);
KoPADocument *m_document; ///< the undelying data structure
KoShape *m_shape;
bool m_master;
mutable QList<KoShape*> m_childs;
mutable KoShapeContainer *m_lastContainer;
......
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