diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 12:15:00 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 12:15:00 +0900 |
| commit | 95292c3fe7b1d6eccf38d93e1a2e071847dc6120 (patch) | |
| tree | eb9b2983d7f418947847bcc32631cd834ead42a6 /src | |
| parent | 647091e6d33e71158a2a5f9ae5e883aae66b2bfe (diff) | |
| download | tdevelop-95292c3fe7b1d6eccf38d93e1a2e071847dc6120.tar.gz tdevelop-95292c3fe7b1d6eccf38d93e1a2e071847dc6120.zip | |
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
| -rw-r--r-- | src/editorproxy.cpp | 10 | ||||
| -rw-r--r-- | src/projectmanager.cpp | 4 |
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); |
