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
Utilities
Filelight
Commits
a369edf6
Commit
a369edf6
authored
May 17, 2021
by
Laurent Montel
Browse files
Make it compile without deprecated method
parent
4e24db81
Changes
1
Show whitespace changes
Inline
Side-by-side
src/mainWindow.cpp
View file @
a369edf6
...
...
@@ -154,8 +154,9 @@ void MainWindow::setupActions() //singleton function
action
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"process-stop"
)));
ac
->
setDefaultShortcut
(
action
,
Qt
::
Key_Escape
);
action
=
ac
->
addAction
(
QStringLiteral
(
"go"
),
m_combo
,
static_cast
<
void
(
KHistoryComboBox
::*
)()
>
(
&
KHistoryComboBox
::
returnPressed
));
action
=
ac
->
addAction
(
QStringLiteral
(
"go"
),
m_combo
,
[
this
]()
{
m_combo
->
returnPressed
(
QString
());
});
action
->
setText
(
i18n
(
"Go"
));
action
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"go-jump-locationbar"
)));
...
...
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