Skip to content
Permalink
Browse files

use new style for signal-slot connection

  • Loading branch information
alexbruy committed Mar 14, 2017
1 parent 2ccdbc9 commit 0dc61cb2fbf8ef4869ccd756572da8951fd53e7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgspasswordlineedit.cpp
@@ -35,7 +35,7 @@ QgsPasswordLineEdit::QgsPasswordLineEdit( QWidget *parent )
mActionLock = addAction( QgsApplication::getThemeIcon( "/lockedGray.svg" ), QLineEdit::LeadingPosition );
}

connect( mActionShowHidePassword, SIGNAL( triggered( bool ) ), this, SLOT( togglePasswordVisibility( bool ) ) );
connect( mActionShowHidePassword, &QAction::triggered, this, &QgsPasswordLineEdit::togglePasswordVisibility );
}

void QgsPasswordLineEdit::togglePasswordVisibility( bool toggled )

0 comments on commit 0dc61cb

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