Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
Konqueror
Commits
fe7718e3
Commit
fe7718e3
authored
Oct 18, 2020
by
Stefano Crocco
Committed by
David Faure
Oct 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make capitalization in Wallet menu consistent with other menus
parent
b5110073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
webenginepart/src/webenginepart.cpp
webenginepart/src/webenginepart.cpp
+7
-7
No files found.
webenginepart/src/webenginepart.cpp
View file @
fe7718e3
...
@@ -1039,32 +1039,32 @@ void WebEnginePart::slotWalletSavedForms(const QUrl& url, bool success)
...
@@ -1039,32 +1039,32 @@ void WebEnginePart::slotWalletSavedForms(const QUrl& url, bool success)
void
WebEnginePart
::
createWalletActions
()
void
WebEnginePart
::
createWalletActions
()
{
{
QAction
*
a
=
new
QAction
(
i18nc
(
"Fill the
f
orms with
d
ata from KWallet"
,
"&Fill forms now"
),
this
);
QAction
*
a
=
new
QAction
(
i18nc
(
"Fill the
F
orms with
D
ata from KWallet"
,
"&Fill forms now"
),
this
);
a
->
setShortcut
(
QKeySequence
(
"Ctrl+Shift+V"
));
a
->
setShortcut
(
QKeySequence
(
"Ctrl+Shift+V"
));
actionCollection
()
->
addAction
(
"walletFillFormsNow"
,
a
);
actionCollection
()
->
addAction
(
"walletFillFormsNow"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
]{
if
(
page
()
&&
m_wallet
){
m_wallet
->
detectAndFillPageForms
(
page
());}});
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
]{
if
(
page
()
&&
m_wallet
){
m_wallet
->
detectAndFillPageForms
(
page
());}});
a
=
new
QAction
(
i18n
(
"&Memorize
p
asswords in
t
his
p
age
n
ow"
),
this
);
a
=
new
QAction
(
i18n
(
"&Memorize
P
asswords in
T
his
P
age
N
ow"
),
this
);
actionCollection
()
->
addAction
(
"walletCacheFormsNow"
,
a
);
actionCollection
()
->
addAction
(
"walletCacheFormsNow"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
]{
if
(
page
()
&&
m_wallet
){
m_wallet
->
savePageDataNow
(
page
());}});
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
]{
if
(
page
()
&&
m_wallet
){
m_wallet
->
savePageDataNow
(
page
());}});
a
=
new
QAction
(
i18n
(
"&Customize
f
ields to
m
emorize for
t
his
p
age..."
),
this
);
a
=
new
QAction
(
i18n
(
"&Customize
F
ields to
M
emorize for
T
his
P
age..."
),
this
);
actionCollection
()
->
addAction
(
"walletCustomizeFields"
,
a
);
actionCollection
()
->
addAction
(
"walletCustomizeFields"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
](){
if
(
m_wallet
){
m_wallet
->
customizeFieldsToCache
(
page
(),
view
());}});
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
](){
if
(
m_wallet
){
m_wallet
->
customizeFieldsToCache
(
page
(),
view
());}});
a
=
new
QAction
(
i18n
(
"Remove
c
ustomized
m
emorization
s
ettings for
t
his
p
age"
),
this
);
a
=
new
QAction
(
i18n
(
"Remove
C
ustomized
M
emorization
S
ettings for
T
his
P
age"
),
this
);
actionCollection
()
->
addAction
(
"walletRemoveCustomization"
,
a
);
actionCollection
()
->
addAction
(
"walletRemoveCustomization"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
](){
m_wallet
->
removeCustomizationForPage
(
url
());});
connect
(
a
,
&
QAction
::
triggered
,
this
,
[
this
](){
m_wallet
->
removeCustomizationForPage
(
url
());});
KToggleAction
*
ta
=
new
KToggleAction
(
i18n
(
"&Allow
p
assword
c
aching for
t
his
s
ite"
),
this
);
KToggleAction
*
ta
=
new
KToggleAction
(
i18n
(
"&Allow
P
assword
C
aching for
T
his
S
ite"
),
this
);
actionCollection
()
->
addAction
(
"walletDisablePasswordCaching"
,
ta
);
actionCollection
()
->
addAction
(
"walletDisablePasswordCaching"
,
ta
);
connect
(
ta
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
togglePasswordStorableState
);
connect
(
ta
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
togglePasswordStorableState
);
a
=
new
QAction
(
i18n
(
"Remove
a
ll
m
emorized
p
asswords for
t
his
s
ite"
),
this
);
a
=
new
QAction
(
i18n
(
"Remove
A
ll
M
emorized
P
asswords for
T
his
S
ite"
),
this
);
actionCollection
()
->
addAction
(
"walletRemoveCachedData"
,
a
);
actionCollection
()
->
addAction
(
"walletRemoveCachedData"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
slotRemoveCachedPasswords
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
slotRemoveCachedPasswords
);
a
=
new
QAction
(
i18n
(
"&Launch
w
allet
m
anager"
),
this
);
a
=
new
QAction
(
i18n
(
"&Launch
W
allet
M
anager"
),
this
);
actionCollection
()
->
addAction
(
"walletShowManager"
,
a
);
actionCollection
()
->
addAction
(
"walletShowManager"
,
a
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
slotLaunchWalletManager
);
connect
(
a
,
&
QAction
::
triggered
,
this
,
&
WebEnginePart
::
slotLaunchWalletManager
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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