summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-24 01:32:43 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-24 01:32:43 (GMT)
commit6dc03faa59c772dd1b7785daf38cf24a403cf1e3 (patch)
tree14538a02b79976489617c3bf3ff3f12bb48ff83c
parentb25f4c7e86f280645804379320f18fa7940322bb (diff)
start to remove more API
-rw-r--r--kate/src/kateapp.cpp4
-rw-r--r--kate/src/kateviewmanager.cpp5
-rw-r--r--kate/src/kateviewmanager.h1
3 files changed, 0 insertions, 10 deletions
diff --git a/kate/src/kateapp.cpp b/kate/src/kateapp.cpp
index 0857306..6e57e13 100644
--- a/kate/src/kateapp.cpp
+++ b/kate/src/kateapp.cpp
@@ -233,10 +233,6 @@ bool KateApp::startupKate()
activeKateMainWindow()->viewManager()->activateView(doc);
}
- if (activeKateMainWindow()->viewManager()->viewCount() == 0) {
- activeKateMainWindow()->viewManager()->activateView(m_docManager->document(0));
- }
-
int line = 0;
int column = 0;
bool nav = false;
diff --git a/kate/src/kateviewmanager.cpp b/kate/src/kateviewmanager.cpp
index 1b71b3b..8fa2b0d 100644
--- a/kate/src/kateviewmanager.cpp
+++ b/kate/src/kateviewmanager.cpp
@@ -633,11 +633,6 @@ KTextEditor::View *KateViewManager::activateView(KTextEditor::Document *d)
return activeView();
}
-int KateViewManager::viewCount() const
-{
- return m_views.count();
-}
-
int KateViewManager::viewSpaceCount() const
{
return m_viewSpaceList.count();
diff --git a/kate/src/kateviewmanager.h b/kate/src/kateviewmanager.h
index 761fc81..e6f1254 100644
--- a/kate/src/kateviewmanager.h
+++ b/kate/src/kateviewmanager.h
@@ -148,7 +148,6 @@ public:
KTextEditor::View *activeView();
KateViewSpace *activeViewSpace();
- int viewCount() const;
int viewSpaceCount() const;
bool isViewActivationBlocked() {