Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Knights
Commits
bd29f3ef
Commit
bd29f3ef
authored
Jan 03, 2022
by
Laurent Montel
Browse files
Port deprecated method
parent
10239d3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/proto/chatwidget.cpp
View file @
bd29f3ef
...
...
@@ -85,7 +85,7 @@ void ChatWidget::addText(const Message& message) {
}
void
ChatWidget
::
setPasswordMode
(
bool
pwMode
)
{
ui
->
line
->
set
Password
Mode
(
pwMode
);
ui
->
line
->
set
Echo
Mode
(
pwMode
?
QLineEdit
::
Password
:
QLineEdit
::
Normal
);
}
void
ChatWidget
::
sendButtonClicked
()
{
...
...
src/proto/ficsdialog.ui
View file @
bd29f3ef
...
...
@@ -91,8 +91,8 @@
<property
name=
"showClearButton"
stdset=
"0"
>
<bool>
true
</bool>
</property>
<property
name=
"
password
Mode"
>
<bool>
true
</bool
>
<property
name=
"
echo
Mode"
>
<enum>
QLineEdit::Password
</enum
>
</property>
</widget>
</item>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment