Commit bf01557a authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

viewManger -> viewManager // damnit autocomplete ^^

parent 73722562
......@@ -1112,7 +1112,7 @@ KateUrlBar::KateUrlBar(KateViewSpace *parent)
setupLayout();
auto *vm = parent->viewManger();
auto *vm = parent->viewManager();
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->viewManager();
}
KateViewSpace *KateUrlBar::viewSpace()
......
......@@ -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->viewManager() != dest->viewManager()) {
return;
}
......
......@@ -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
viewManager() == tabMimeData->sourceVS->viewManager() && // for now we don't support dropping into different windows
!hasDocument(tabMimeData->doc);
}
return TabMimeData::hasValidData(md);
......
......@@ -48,7 +48,7 @@ public:
/**
* @return the view manager that this viewspace belongs to
*/
KateViewManager *viewManger() const
KateViewManager *viewManager() const
{
return m_viewManager;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment