Skip to content

Commit

Permalink
better fix than 4d0551f
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 5, 2012
1 parent cbe1e40 commit ccf3af7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -73,7 +73,6 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
: QMainWindow()
, mTitle( title )
, mUndoView( 0 )
, mCompositionOptionsLayout( 0 )
{
setupUi( this );
setWindowTitle( mTitle );
Expand Down Expand Up @@ -1256,8 +1255,6 @@ void QgsComposer::readXML( const QDomElement& composerElem, const QDomDocument&
//delete composition widget
QgsCompositionWidget* oldCompositionWidget = qobject_cast<QgsCompositionWidget *>( mGeneralDock->widget() );
delete oldCompositionWidget;
delete mCompositionOptionsLayout;
mCompositionOptionsLayout = 0;

mView = new QgsComposerView( mViewFrame );

Expand Down
3 changes: 0 additions & 3 deletions src/app/composer/qgscomposer.h
Expand Up @@ -303,9 +303,6 @@ class QgsComposer: public QMainWindow, private Ui::QgsComposerBase
//! The composer was opened first time (-> set defaults)
bool mFirstTime;

//! Layout
QGridLayout *mCompositionOptionsLayout;

//! Layout
QGridLayout *mItemOptionsLayout;

Expand Down

0 comments on commit ccf3af7

Please sign in to comment.