[PC-BSD Commits] r18388 - pcbsd/current/src-qt4/qsu/src

svn at pcbsd.org svn at pcbsd.org
Thu Aug 9 07:11:51 PDT 2012


Author: kris
Date: 2012-08-09 14:11:51 +0000 (Thu, 09 Aug 2012)
New Revision: 18388

Modified:
   pcbsd/current/src-qt4/qsu/src/passwordpromptdialog.cpp
Log:

Disable the user line edit, so it doesn't fool user into thinking they
can change it



Modified: pcbsd/current/src-qt4/qsu/src/passwordpromptdialog.cpp
===================================================================
--- pcbsd/current/src-qt4/qsu/src/passwordpromptdialog.cpp	2012-08-09 14:09:24 UTC (rev 18387)
+++ pcbsd/current/src-qt4/qsu/src/passwordpromptdialog.cpp	2012-08-09 14:11:51 UTC (rev 18388)
@@ -88,5 +88,6 @@
 PasswordPromptDialog::setUserName(const QString &name)
 {
 	m_ui->userLineEdit->setText(name);
+	m_ui->userLineEdit->setEnabled(false);
 }
 



More information about the Commits mailing list