diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 08:24:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 08:24:43 +0000 |
commit | 96a33d90689a46ea58f812d76fdd2eaf93edecfa (patch) | |
tree | 756ca55bffdffc115088699dd1b76c61eb6f64bf /kdecore/ksycoca.cpp | |
parent | 5783baba4a547c443e4392f51c8023d38cb9fe6a (diff) | |
download | tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.tar.gz tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.zip |
Additional TQt for Qt4 compilation fixes
This should not affect TQt for Qt3 per usual
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksycoca.cpp')
-rw-r--r-- | kdecore/ksycoca.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kdecore/ksycoca.cpp b/kdecore/ksycoca.cpp index a3d017f9a..f6b9ffa6a 100644 --- a/kdecore/ksycoca.cpp +++ b/kdecore/ksycoca.cpp @@ -233,10 +233,7 @@ void KSycoca::closeDatabase() if (device && m_sycoca_mmap) { TQBuffer *buf = (TQBuffer *) device; -#ifdef USE_QT4 - static_cast<TQByteArray&> -#endif // USE_QT4 - (buf->buffer()).resetRawData(m_sycoca_mmap, m_sycoca_size); + buf->buffer().resetRawData(m_sycoca_mmap, m_sycoca_size); // Solaris has munmap(char*, size_t) and everything else should // be happy with a char* for munmap(void*, size_t) munmap((char*) m_sycoca_mmap, m_sycoca_size); |