summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdesycoca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdesycoca.cpp b/tdecore/tdesycoca.cpp
index 9eca62ed3..b39ca239e 100644
--- a/tdecore/tdesycoca.cpp
+++ b/tdecore/tdesycoca.cpp
@@ -246,7 +246,7 @@ void KSycoca::closeDatabase()
delete m_str;
m_str = 0;
delete device;
- if (TQT_TQIODEVICE(d->database) != device)
+ if (d->database != device)
delete d->database;
if (m_barray) delete m_barray;
m_barray = 0;