From be367eb94b9bd38aefdc76dfb87ce45b45d4ab8f Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 16 Nov 2012 17:01:22 +0100 Subject: [PATCH] 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. --- src/mirall/owncloudwizard.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mirall/owncloudwizard.cpp b/src/mirall/owncloudwizard.cpp index fb09b6cbfe..0ba36cee86 100644 --- a/src/mirall/owncloudwizard.cpp +++ b/src/mirall/owncloudwizard.cpp @@ -198,8 +198,6 @@ bool OwncloudSetupPage::isComplete() const void OwncloudSetupPage::initializePage() { - QString user = QString::fromLocal8Bit(qgetenv( "USER" )); - _ui.leUsername->setText( user ); } int OwncloudSetupPage::nextId() const @@ -301,8 +299,6 @@ bool OwncloudCredentialsPage::isComplete() const void OwncloudCredentialsPage::initializePage() { - QString user = QString::fromLocal8Bit(qgetenv( "USER" )); - _ui.OCUserEdit->setText( user ); } int OwncloudCredentialsPage::nextId() const