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
Graphics
libksane
Commits
caeace8b
Commit
caeace8b
authored
Sep 08, 2021
by
Alexander Stippich
Browse files
make the scan button the focus proxy for KSaneWidget
parent
dbe6df5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ksanewidget.cpp
View file @
caeace8b
...
...
@@ -126,6 +126,7 @@ KSaneWidget::KSaneWidget(QWidget *parent)
d
->
m_scanBtn
->
setToolTip
(
i18n
(
"Scan Final Image (%1)"
,
scanShortcut
->
key
().
toString
()));
d
->
m_scanBtn
->
setText
(
i18nc
(
"Final scan button text"
,
"Scan"
));
d
->
m_scanBtn
->
setFocus
(
Qt
::
OtherFocusReason
);
setFocusProxy
(
d
->
m_scanBtn
);
connect
(
d
->
m_scanBtn
,
&
QToolButton
::
clicked
,
d
,
&
KSaneWidgetPrivate
::
startFinalScan
);
d
->
m_btnFrame
=
new
QWidget
;
...
...
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