Skip to content


add clear text password warning (fixes #5959)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 8, 2012
1 parent 299857e commit 81abf7f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/gui/qgsnewhttpconnection.cpp
Expand Up @@ -111,6 +111,15 @@ void QgsNewHttpConnection::accept()

if ( !txtPassword->text().isEmpty() &&
QMessageBox::question( this,
tr( "Saving passwords" ),
tr( "WARNING: You have entered a password. It will be stored in plain text in your project files and in your home directory on Unix-like systems, or in your user profile on Windows. If you do not want this to happen, please press the Cancel button.\nNote: giving the password is optional. It will be requested interactivly, when needed." ),
QMessageBox::Ok | QMessageBox::Cancel ) == QMessageBox::Cancel )

// on rename delete original entry first
if ( !mOriginalConnName.isNull() && mOriginalConnName != key )
Expand Down

0 comments on commit 81abf7f

Please sign in to comment.