summaryrefslogtreecommitdiffstats
path: root/tdecore/ksycoca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/ksycoca.cpp')
-rw-r--r--tdecore/ksycoca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/ksycoca.cpp b/tdecore/ksycoca.cpp
index 3a655d617..f95062fa0 100644
--- a/tdecore/ksycoca.cpp
+++ b/tdecore/ksycoca.cpp
@@ -178,7 +178,7 @@ bool KSycoca::openDatabase( bool openDummyIfNotFound )
// We open a dummy database instead.
//kdDebug(7011) << "No database, opening a dummy one." << endl;
TQBuffer *buffer = new TQBuffer();
- buffer->tqsetBufferFromCopy(TQByteArray());
+ buffer->setBuffer(TQByteArray());
buffer->open(IO_ReadWrite);
m_str = new TQDataStream( buffer);
(*m_str) << (TQ_INT32) KSYCOCA_VERSION;