Changed password to show as asterisks instead of real letters in settings.
authoreshe <jessehakanen@gmail.com>
Sat, 29 May 2010 16:46:48 +0000 (17:46 +0100)
committereshe <jessehakanen@gmail.com>
Sat, 29 May 2010 16:46:48 +0000 (17:46 +0100)
src/gui/settingsdialog.cpp

index 626a0b2..9b9ed10 100644 (file)
@@ -52,6 +52,7 @@ autostartSelector_(0)
 
     QLabel* passwordLabel = new QLabel(tr("Eniro password"));
     passwordInput_ = new QLineEdit(Settings::instance()->get("eniro_password"));
+    passwordInput_->setEchoMode(QLineEdit::Password);
 
     QLabel* cacheLabel = new QLabel(tr("Cache size (numbers)"));
     cacheInput_ = new QLineEdit(Settings::instance()->get("cache_size"));