summaryrefslogtreecommitdiffstats
path: root/gui/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/logindialog.cpp')
-rw-r--r--gui/logindialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/logindialog.cpp b/gui/logindialog.cpp
index 332b5d38..aeaaaa9e 100644
--- a/gui/logindialog.cpp
+++ b/gui/logindialog.cpp
@@ -206,8 +206,7 @@ void LoginDialog::userTextChanged ( const QString& user )
}
}
- if(gotFace) ui->lblFace->setVisible(true);
- else ui->lblFace->setVisible(false);
+ ui->lblFace->setVisible(gotFace);
blockToggles = false;
}