Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krusader
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Utilities
Krusader
Commits
9293824b
Commit
9293824b
authored
Dec 23, 2020
by
Alexander Lohnau
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add context to connect calls
parent
60446223
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
krusader/Panel/krsearchbar.cpp
krusader/Panel/krsearchbar.cpp
+1
-1
krusader/Panel/listpanel.cpp
krusader/Panel/listpanel.cpp
+3
-3
No files found.
krusader/Panel/krsearchbar.cpp
View file @
9293824b
...
...
@@ -102,7 +102,7 @@ void KrSearchBar::setView(KrView *view)
_view
=
view
;
connect
(
_openSelectDialogBtn
,
&
QToolButton
::
clicked
,
[
this
](){
_view
->
customSelection
(
true
);
});
connect
(
_openSelectDialogBtn
,
&
QToolButton
::
clicked
,
this
,
[
this
](){
_view
->
customSelection
(
true
);
});
_view
->
widget
()
->
installEventFilter
(
this
);
}
...
...
krusader/Panel/listpanel.cpp
View file @
9293824b
...
...
@@ -175,7 +175,7 @@ ListPanel::ListPanel(QWidget *parent, AbstractPanelManager *manager, const KConf
// bookmarks button
bookmarksButton
=
new
KrBookmarkButton
(
this
);
connect
(
bookmarksButton
,
&
KrBookmarkButton
::
aboutToShow
,
this
,
[
=
]()
{
slotFocusOnMe
();
});
connect
(
bookmarksButton
,
&
KrBookmarkButton
::
openUrl
,
[
=
](
const
QUrl
&
_t1
)
{
func
->
openUrl
(
_t1
);
});
connect
(
bookmarksButton
,
&
KrBookmarkButton
::
openUrl
,
this
,
[
this
](
const
QUrl
&
_t1
)
{
func
->
openUrl
(
_t1
);
});
bookmarksButton
->
setWhatsThis
(
i18n
(
"Open menu with bookmarks. You can also add "
"current location to the list, edit bookmarks "
"or add subfolder to the list."
));
...
...
@@ -260,7 +260,7 @@ ListPanel::ListPanel(QWidget *parent, AbstractPanelManager *manager, const KConf
sidebarPositionButton
->
setAutoRaise
(
true
);
sidebarPositionButton
->
setIcon
(
Icon
(
"exchange-positions"
));
sidebarPositionButton
->
setToolTip
(
i18n
(
"Move Sidebar clockwise"
));
connect
(
sidebarPositionButton
,
&
QToolButton
::
clicked
,
[
this
]()
{
connect
(
sidebarPositionButton
,
&
QToolButton
::
clicked
,
this
,
[
this
]()
{
// moving position clockwise
setSidebarPosition
((
sidebarPosition
()
+
1
)
%
4
);
});
ADD_WIDGET
(
sidebarPositionButton
);
...
...
@@ -298,7 +298,7 @@ ListPanel::ListPanel(QWidget *parent, AbstractPanelManager *manager, const KConf
"active and inactive panel - if possible."
);
syncBrowseButton
->
setText
(
syncBrowseText
);
syncBrowseButton
->
setToolTip
(
syncBrowseText
);
connect
(
syncBrowseButton
,
&
QToolButton
::
toggled
,
[
=
](
bool
checked
)
{
connect
(
syncBrowseButton
,
&
QToolButton
::
toggled
,
syncBrowseButton
,
[
this
](
bool
checked
)
{
syncBrowseButton
->
setIcon
(
Icon
(
checked
?
"kr_syncbrowse_on"
:
"kr_syncbrowse_off"
));
});
...
...
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