From aa577ce03826e8db7989342b7bc4239e9b2245c5 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 16 Nov 2012 13:14:47 +0100 Subject: [PATCH] Remove placeholder texts for username and password User names might be misleading, since they might be email addresses, SMB logins including domain, etc. --- src/mirall/owncloudwizard.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/mirall/owncloudwizard.cpp b/src/mirall/owncloudwizard.cpp index 96ddb18659..fb09b6cbfe 100644 --- a/src/mirall/owncloudwizard.cpp +++ b/src/mirall/owncloudwizard.cpp @@ -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 }