Skip to content

Commit f77d6cd

Browse files
author
Hugo Mercier
committedNov 7, 2015
Remove unused signal + style format
1 parent 4cc6650 commit f77d6cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/gui/qgslegendfilterbutton.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ QgsLegendFilterButton::QgsLegendFilterButton( QWidget* parent ) :
4343

4444
setMenu( mMenu );
4545

46-
connect( this, SIGNAL( toggled( bool ) ), this, SIGNAL( triggered( bool ) ) );
47-
connect( this, SIGNAL( toggled(bool) ), this, SLOT( onToggle( bool ) ) );
46+
connect( this, SIGNAL( toggled( bool ) ), this, SLOT( onToggle( bool ) ) );
4847
}
4948

5049
QgsLegendFilterButton::~QgsLegendFilterButton()
@@ -53,7 +52,8 @@ QgsLegendFilterButton::~QgsLegendFilterButton()
5352

5453
void QgsLegendFilterButton::onToggle( bool checked )
5554
{
56-
if ( checked && expressionText().isEmpty() ) {
55+
if ( checked && expressionText().isEmpty() )
56+
{
5757
// show the dialog if the current expression is empty
5858
blockSignals( true );
5959
onSetLegendFilterExpression();

0 commit comments

Comments
 (0)
Please sign in to comment.