Просмотр исходного кода

Do not prepopulate the user field, it's usually wrong

Especially without LDAP, or in cases where the login
is an email address. If we ever want this again,
we need to make this cleverer.
Daniel Molkentin 13 лет назад
Родитель
Сommit
be367eb94b
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/mirall/owncloudwizard.cpp

+ 0 - 4
src/mirall/owncloudwizard.cpp

@@ -198,8 +198,6 @@ bool OwncloudSetupPage::isComplete() const
 
 
 void OwncloudSetupPage::initializePage()
 void OwncloudSetupPage::initializePage()
 {
 {
-    QString user = QString::fromLocal8Bit(qgetenv( "USER" ));
-    _ui.leUsername->setText( user );
 }
 }
 
 
 int OwncloudSetupPage::nextId() const
 int OwncloudSetupPage::nextId() const
@@ -301,8 +299,6 @@ bool OwncloudCredentialsPage::isComplete() const
 
 
 void OwncloudCredentialsPage::initializePage()
 void OwncloudCredentialsPage::initializePage()
 {
 {
-    QString user = QString::fromLocal8Bit(qgetenv( "USER" ));
-    _ui.OCUserEdit->setText( user );
 }
 }
 
 
 int OwncloudCredentialsPage::nextId() const
 int OwncloudCredentialsPage::nextId() const