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
Kate
Commits
2f7a3f3b
Commit
2f7a3f3b
authored
Sep 26, 2022
by
Waqar Ahmed
Browse files
Fix crash in urlbar
BUG: 459612
parent
4d03958f
Pipeline
#237014
passed with stage
in 15 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateurlbar.cpp
View file @
2f7a3f3b
...
...
@@ -796,9 +796,14 @@ public:
return
;
}
SymbolsTreeView
t
(
this
);
connect
(
&
t
,
&
SymbolsTreeView
::
navigateLeftRight
,
this
,
[
this
](
int
k
)
{
onNavigateLeftRight
(
k
,
true
);
});
connect
(
&
t
,
&
SymbolsTreeView
::
navigateLeftRight
,
this
,
[
this
](
int
k
)
{
onNavigateLeftRight
(
k
,
true
);
},
Qt
::
QueuedConnection
);
const
QString
symbolName
=
idx
.
data
().
toString
();
t
.
setSymbolsModel
(
m_symbolsModel
,
activeView
,
symbolName
);
const
auto
pos
=
mapToGlobal
(
rectForIndex
(
idx
).
bottomLeft
());
...
...
@@ -819,9 +824,14 @@ public:
DirFilesList
m
(
this
);
connect
(
&
m
,
&
DirFilesList
::
openUrl
,
m_urlBar
,
&
KateUrlBar
::
openUrlRequested
);
connect
(
&
m
,
&
DirFilesList
::
openUrl
,
this
,
&
BreadCrumbView
::
unsetFocus
);
connect
(
&
m
,
&
DirFilesList
::
navigateLeftRight
,
this
,
[
this
](
int
k
)
{
onNavigateLeftRight
(
k
,
true
);
});
connect
(
&
m
,
&
DirFilesList
::
navigateLeftRight
,
this
,
[
this
](
int
k
)
{
onNavigateLeftRight
(
k
,
true
);
},
Qt
::
QueuedConnection
);
m
.
setDir
(
d
,
idx
.
data
().
toString
());
m
.
setFocus
();
m
.
exec
(
pos
);
...
...
Waqar Ahmed
@waqar
mentioned in commit
04ba544e
·
Sep 26, 2022
mentioned in commit
04ba544e
mentioned in commit 04ba544ea28f4dd840b2d73776ccf049cec7e97f
Toggle commit list
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