Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
4a3d0ce4
Commit
4a3d0ce4
authored
Dec 01, 2021
by
Nate Graham
Browse files
Open bookmarks toolbar button on click; don't require press-and-hold
BUG: 446339
FIXED-IN: 21.12
parent
1ab85d80
Pipeline
#104015
passed with stage
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/MainWindow.cpp
View file @
4a3d0ce4
...
@@ -330,6 +330,7 @@ void MainWindow::setupActions()
...
@@ -330,6 +330,7 @@ void MainWindow::setupActions()
// Bookmark Menu
// Bookmark Menu
KActionMenu
*
bookmarkMenu
=
new
KActionMenu
(
i18nc
(
"@title:menu"
,
"&Bookmarks"
),
collection
);
KActionMenu
*
bookmarkMenu
=
new
KActionMenu
(
i18nc
(
"@title:menu"
,
"&Bookmarks"
),
collection
);
bookmarkMenu
->
setPopupMode
(
QToolButton
::
InstantPopup
);
// Don't require press+hold
_bookmarkHandler
=
new
BookmarkHandler
(
collection
,
bookmarkMenu
->
menu
(),
true
,
this
);
_bookmarkHandler
=
new
BookmarkHandler
(
collection
,
bookmarkMenu
->
menu
(),
true
,
this
);
collection
->
addAction
(
QStringLiteral
(
"bookmark"
),
bookmarkMenu
);
collection
->
addAction
(
QStringLiteral
(
"bookmark"
),
bookmarkMenu
);
connect
(
_bookmarkHandler
,
&
Konsole
::
BookmarkHandler
::
openUrls
,
this
,
&
Konsole
::
MainWindow
::
openUrls
);
connect
(
_bookmarkHandler
,
&
Konsole
::
BookmarkHandler
::
openUrls
,
this
,
&
Konsole
::
MainWindow
::
openUrls
);
...
...
Write
Preview
Supports
Markdown
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