summaryrefslogtreecommitdiffstats
path: root/knights/pgn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/pgn.cpp')
-rw-r--r--knights/pgn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/knights/pgn.cpp b/knights/pgn.cpp
index 4dc14f5..b0355c7 100644
--- a/knights/pgn.cpp
+++ b/knights/pgn.cpp
@@ -732,7 +732,7 @@ bool pgn::open( const TQString &URL )
close();
return FALSE;
}
- Input.setDevice( TQT_TQIODEVICE(&File) );
+ Input.setDevice( &File );
CurrentURL = URL;
File.at(0);
return TRUE;