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
Kate
Commits
23c23866
Commit
23c23866
authored
Feb 19, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Feb 19, 2021
Browse files
Fix backtrace browser unable to open file
parent
9f135202
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/backtracebrowser/katebacktracebrowser.cpp
View file @
23c23866
...
...
@@ -234,7 +234,7 @@ void KateBtBrowserWidget::itemActivated(QTreeWidgetItem *item, int column)
}
if
(
!
path
.
isEmpty
()
&&
QFile
::
exists
(
path
))
{
KTextEditor
::
View
*
kv
=
mw
->
openUrl
(
QUrl
(
path
));
KTextEditor
::
View
*
kv
=
mw
->
openUrl
(
QUrl
::
fromLocalFile
(
path
));
kv
->
setCursorPosition
(
KTextEditor
::
Cursor
(
line
-
1
,
0
));
kv
->
setFocus
();
setStatus
(
i18n
(
"Opened file: %1"
,
file
));
...
...
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