summaryrefslogtreecommitdiffstats
path: root/kapptemplate
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate')
-rw-r--r--kapptemplate/kapp/app.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/kapptemplate/kapp/app.cpp b/kapptemplate/kapp/app.cpp
index fb7a2a97..0a5e2879 100644
--- a/kapptemplate/kapp/app.cpp
+++ b/kapptemplate/kapp/app.cpp
@@ -13,7 +13,6 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}.cpp
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
-#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <kiconloader.h>
@@ -114,11 +113,7 @@ void ${APP_NAME}::saveProperties(TDEConfig *config)
// later when this app is restored
if (!m_view->currentURL().isNull()) {
-#if KDE_IS_VERSION(3,1,3)
config->writePathEntry("lastURL", m_view->currentURL());
-#else
- config->writeEntry("lastURL", m_view->currentURL());
-#endif
}
}