Skip to content
Permalink
Browse files

[composer] fix attribute table widget connect warning

  • Loading branch information
nirvn committed Oct 20, 2016
1 parent 02fc2b0 commit 69e8da0fb1b5d7ca0d37bdc0055c2a599b1f2e3a
@@ -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 69e8da0

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