summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editorproxy.cpp10
-rw-r--r--src/projectmanager.cpp4
2 files changed, 0 insertions, 14 deletions
diff --git a/src/editorproxy.cpp b/src/editorproxy.cpp
index f9ce2ab8..48b78426 100644
--- a/src/editorproxy.cpp
+++ b/src/editorproxy.cpp
@@ -80,16 +80,6 @@ void EditorProxy::setLineNumber(KParts::Part *part, int lineNum, int col)
ViewCursorInterface *iface = dynamic_cast<ViewCursorInterface*>(part->widget());
if (iface)
{
-#if KDE_IS_VERSION(3,5,5)
-#else
- if (!part->widget()->hasFocus()) //workaround for TQXIMInputContext crashes. Keep for KDE <=3.5.4!
- {
- m_delayedPart = part;
- m_delayedLine = lineNum;
- m_delayedCol = col;
- m_delayedLineTimer->start( 1, true );
- } else
-#endif
iface->setCursorPositionReal(lineNum, col == -1 ? 0 : col);
}
else {
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp
index 385353c5..55b139fb 100644
--- a/src/projectmanager.cpp
+++ b/src/projectmanager.cpp
@@ -290,11 +290,7 @@ void ProjectManager::slotLoadProject( )
kdWarning() << i18n("error during restoring of the TDevelop session !") << endl;
}
}
-#if KDE_IS_VERSION(3,5,0)
m_openRecentProjectAction->addURL(projectFile(), projectName()); // KDE >= 3.5.x
-#else
- m_openRecentProjectAction->addURL(projectFile()); // KDE 3.4.x
-#endif
m_closeProjectAction->setEnabled(true);
m_projectOptionsAction->setEnabled(true);