Skip to content
Permalink
Browse files

Merge pull request #3647 from nirvn/composer_attribute_table_fix

[composer] fix attribute table widget connect warning
  • Loading branch information
nyalldawson committed Oct 20, 2016
2 parents 4722274 + 69e8da0 commit 2d4e3da8f57d83f4e56d81fbee05a567ee7b9140
@@ -66,7 +66,7 @@ QgsComposerAttributeTableWidget::QgsComposerAttributeTableWidget( QgsComposerAtt

mComposerMapComboBox->setComposition( mComposerTable->composition() );
mComposerMapComboBox->setItemType( QgsComposerItem::ComposerMap );
connect( mComposerMapComboBox, SIGNAL( itemChanged( QgsComposerItem* ) ), this, SLOT( composerMapChanged( const QgsComposerItem* ) ) );
connect( mComposerMapComboBox, SIGNAL( itemChanged( QgsComposerItem* ) ), this, SLOT( composerMapChanged( QgsComposerItem* ) ) );

mHeaderFontColorButton->setColorDialogTitle( tr( "Select header font color" ) );
mHeaderFontColorButton->setAllowAlpha( true );
@@ -176,7 +176,7 @@ void QgsComposerAttributeTableWidget::on_mAttributesPushButton_clicked()
}
}

void QgsComposerAttributeTableWidget::composerMapChanged( const QgsComposerItem* item )
void QgsComposerAttributeTableWidget::composerMapChanged( QgsComposerItem* item )
{
if ( !mComposerTable )
{
@@ -45,7 +45,7 @@ class QgsComposerAttributeTableWidget: public QgsComposerItemBaseWidget, private
private slots:
void on_mRefreshPushButton_clicked();
void on_mAttributesPushButton_clicked();
void composerMapChanged( const QgsComposerItem* item );
void composerMapChanged( QgsComposerItem* item );
void on_mMaximumRowsSpinBox_valueChanged( int i );
void on_mMarginSpinBox_valueChanged( double d );
void on_mGridStrokeWidthSpinBox_valueChanged( double d );

0 comments on commit 2d4e3da

Please sign in to comment.
You can’t perform that action at this time.