Skip to content

Commit a1a64d4

Browse files
task is progress
1 parent af361f5 commit a1a64d4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

keychain_linux/passentry_cmd/pass_entry_term.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ std::wstring pass_entry_term::input_password(const KeySym * map, int socket)
216216
char name[256] = "Unknown";
217217
bool first_key = true;
218218
auto gui = polling(socket);
219-
// ChangeKbProperty(dev_info, kbd_atom, device_enabled_prop, dev_cnt, 0);
219+
//ChangeKbProperty(dev_info, kbd_atom, device_enabled_prop, dev_cnt, 0);
220220

221221
capslock = keyState(XK_Caps_Lock);
222222
numlock = keyState(XK_Num_Lock);

keychain_linux/passentry_gui/src/PasswordEnterElement.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ PasswordEnterElement::PasswordEnterElement(bool passwordCreate, QWidget * parent
1313

1414
value = new PasswordLineEdit(this);
1515
value->setText("");
16-
//value->setStyleSheet(passPhraseStyle);
17-
//value->setEchoMode(QLineEdit::Password);
18-
//value->setAlignment(Qt::AlignVCenter | Qt::AlignLeft);
16+
value->setStyleSheet(passPhraseStyle);
17+
value->setEchoMode(QLineEdit::Password);
18+
value->setAlignment(Qt::AlignVCenter | Qt::AlignLeft);
1919
value->setFocus();
2020
pCreatePassword = false;
2121
if (passwordCreate) {

keychain_linux/passentry_gui/src/cmd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace slave
4646
virtual void operator()(keychain_gui_win& w, const fc_light::variant& v) const override {
4747
try
4848
{
49-
// w->close();
49+
w.close();
5050
}
5151
catch (const std::exception &e) {throw std::runtime_error(e.what());}
5252
catch (const fc_light::exception &e) {throw std::runtime_error(e.what());}

0 commit comments

Comments
 (0)