summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kxsconfig/kxsxml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver/kxsconfig/kxsxml.cpp')
-rw-r--r--kscreensaver/kxsconfig/kxsxml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kscreensaver/kxsconfig/kxsxml.cpp b/kscreensaver/kxsconfig/kxsxml.cpp
index e35294dd..6ea0c7b7 100644
--- a/kscreensaver/kxsconfig/kxsxml.cpp
+++ b/kscreensaver/kxsconfig/kxsxml.cpp
@@ -36,7 +36,7 @@ bool KXSXml::parse( const TQString &filename )
{
TQFile file( filename );
handler = new KXSXmlHandler( parent );
- TQXmlInputSource source( &file );
+ TQXmlInputSource source( TQT_TQIODEVICE(&file) );
TQXmlSimpleReader reader;
reader.setContentHandler( handler );
if ( !reader.parse( &source, FALSE ) )