Commit 366cbbfc authored by Thomas Zander's avatar Thomas Zander
Browse files

Better reporting

svn path=/trunk/koffice/; revision=603272
parent bf10d276
......@@ -32,9 +32,10 @@
KoShapeManager::KoShapeManager( KoCanvasBase *canvas, const QList<KoShape *> &shapes )
: m_selection( new KoSelection() )
, m_canvas( canvas )
, m_canvas( canvas )
, m_tree( 4, 2 )
{
Q_ASSERT(m_canvas); // not optional.
connect( m_selection, SIGNAL(selectionChanged()), this, SIGNAL(selectionChanged()) );
setShapes(shapes);
m_selection->addShapeManager( this );
......@@ -43,9 +44,10 @@ KoShapeManager::KoShapeManager( KoCanvasBase *canvas, const QList<KoShape *> &sh
KoShapeManager::KoShapeManager(KoCanvasBase *canvas)
: m_shapes()
, m_selection( new KoSelection() )
, m_canvas( canvas )
, m_canvas( canvas )
, m_tree( 4, 2 )
{
Q_ASSERT(m_canvas); // not optional.
connect( m_selection, SIGNAL(selectionChanged()), this, SIGNAL(selectionChanged()) );
m_selection->addShapeManager( this );
}
......
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