summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/keytrans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/konsole/keytrans.cpp')
-rw-r--r--konsole/konsole/keytrans.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konsole/konsole/keytrans.cpp b/konsole/konsole/keytrans.cpp
index a28801a06..7a2b3f566 100644
--- a/konsole/konsole/keytrans.cpp
+++ b/konsole/konsole/keytrans.cpp
@@ -363,11 +363,11 @@ void KeyTrans::readConfig()
TQBuffer* newbuf;
newbuf = new TQBuffer();
newbuf->setBuffer(txt);
- buf=TQT_TQIODEVICE(newbuf);
+ buf=newbuf;
}
else
{
- buf=TQT_TQIODEVICE(new TQFile(m_path));
+ buf=new TQFile(m_path);
};
KeytabReader ktr(m_path,*buf);
ktr.parseTo(this);