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
PIM
Kleopatra
Commits
d7f9d806
Commit
d7f9d806
authored
Aug 03, 2022
by
Ingo Klöcker
Browse files
Prevent scroll areas from receiving focus
GnuPG-bug-id: 6101
parent
051bdf81
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/selftestdialog.cpp
View file @
d7f9d806
...
...
@@ -367,6 +367,7 @@ private:
auto
groupBoxLayout
=
new
QVBoxLayout
{
detailsGB
};
auto
scrollArea
=
new
Kleo
::
ScrollArea
{
qq
};
scrollArea
->
setFocusPolicy
(
Qt
::
NoFocus
);
scrollArea
->
setMinimumHeight
(
100
);
scrollArea
->
setFrameShape
(
QFrame
::
NoFrame
);
scrollArea
->
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOff
);
...
...
@@ -390,6 +391,7 @@ private:
auto
groupBoxLayout
=
new
QVBoxLayout
{
proposedCorrectiveActionGB
};
auto
scrollArea
=
new
Kleo
::
ScrollArea
{
qq
};
scrollArea
->
setFocusPolicy
(
Qt
::
NoFocus
);
scrollArea
->
setMinimumHeight
(
100
);
scrollArea
->
setFrameShape
(
QFrame
::
NoFrame
);
scrollArea
->
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOff
);
...
...
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