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
bf01557a
Commit
bf01557a
authored
Aug 13, 2022
by
Pablo Rauzy
Browse files
viewManger -> viewManager // damnit autocomplete ^^
parent
73722562
Changes
4
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateurlbar.cpp
View file @
bf01557a
...
...
@@ -1112,7 +1112,7 @@ KateUrlBar::KateUrlBar(KateViewSpace *parent)
setupLayout
();
auto
*
vm
=
parent
->
viewManger
();
auto
*
vm
=
parent
->
viewMan
a
ger
();
connect
(
vm
,
&
KateViewManager
::
viewChanged
,
this
,
&
KateUrlBar
::
onViewChanged
);
connect
(
vm
,
&
KateViewManager
::
showUrlNavBarChanged
,
this
,
[
this
,
vm
](
bool
show
)
{
...
...
@@ -1134,7 +1134,7 @@ void KateUrlBar::open()
KateViewManager
*
KateUrlBar
::
viewManager
()
{
return
m_parentViewSpace
->
viewManger
();
return
m_parentViewSpace
->
viewMan
a
ger
();
}
KateViewSpace
*
KateUrlBar
::
viewSpace
()
...
...
apps/lib/kateviewmanager.cpp
View file @
bf01557a
...
...
@@ -933,7 +933,7 @@ void KateViewManager::moveViewToViewSpace(KateViewSpace *dest, KateViewSpace *sr
// Are we trying to drop into some other mainWindow of current app session?
// shouldn't happen, but just a safe guard
if
(
src
->
viewManger
()
!=
dest
->
viewManger
())
{
if
(
src
->
viewMan
a
ger
()
!=
dest
->
viewMan
a
ger
())
{
return
;
}
...
...
apps/lib/kateviewspace.cpp
View file @
bf01557a
...
...
@@ -565,7 +565,7 @@ bool KateViewSpace::acceptsDroppedTab(const QMimeData *md)
{
if
(
auto
tabMimeData
=
qobject_cast
<
const
TabMimeData
*>
(
md
))
{
return
this
!=
tabMimeData
->
sourceVS
&&
// must not be same viewspace
viewManger
()
==
tabMimeData
->
sourceVS
->
viewManger
()
&&
// for now we don't support dropping into different windows
viewMan
a
ger
()
==
tabMimeData
->
sourceVS
->
viewMan
a
ger
()
&&
// for now we don't support dropping into different windows
!
hasDocument
(
tabMimeData
->
doc
);
}
return
TabMimeData
::
hasValidData
(
md
);
...
...
apps/lib/kateviewspace.h
View file @
bf01557a
...
...
@@ -48,7 +48,7 @@ public:
/**
* @return the view manager that this viewspace belongs to
*/
KateViewManager
*
viewManger
()
const
KateViewManager
*
viewMan
a
ger
()
const
{
return
m_viewManager
;
}
...
...
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