Remove placeholder texts for username and password

User names might be misleading, since they might be
email addresses, SMB logins including domain, etc.
This commit is contained in:
Daniel Molkentin 2012-11-16 13:14:47 +01:00
parent 53b0b96627
commit aa577ce038

View File

@ -96,11 +96,6 @@ OwncloudSetupPage::OwncloudSetupPage()
_ui.cbConnectOC->hide();
setupCustomization();
#if QT_VERSION >= 0x040700
_ui.leUsername->setPlaceholderText(tr("john"));
_ui.lePassword->setPlaceholderText(tr("secret"));
#endif
}
OwncloudSetupPage::~OwncloudSetupPage()
@ -284,11 +279,6 @@ OwncloudCredentialsPage::OwncloudCredentialsPage()
connect( _ui.OCPasswdEdit, SIGNAL(textChanged(QString)), this, SIGNAL(completeChanged()));
connect( _ui.cbPwdNoLocalStore, SIGNAL(stateChanged(int)), this, SLOT(slotPwdStoreChanged(int)));
#if QT_VERSION >= 0x040700
_ui.OCUserEdit->setPlaceholderText(tr("john"));
_ui.OCPasswdEdit->setPlaceholderText(tr("secret"));
#endif
}
OwncloudCredentialsPage::~OwncloudCredentialsPage()
@ -333,8 +323,6 @@ OwncloudFTPAccessPage::OwncloudFTPAccessPage()
#if QT_VERSION >= 0x040700
_ui.ftpUrlEdit->setPlaceholderText(tr("ftp.mydomain.org"));
_ui.ftpUserEdit->setPlaceholderText(tr("john"));
_ui.ftpPasswdEdit->setPlaceholderText(tr("secret"));
#endif
}