summaryrefslogtreecommitdiffstats
path: root/examples/demo/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/frame.cpp')
-rw-r--r--examples/demo/frame.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index 2c7152b5d..0cd5006a3 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -132,10 +132,10 @@ void Frame::setStyle( const TQString& style )
void Frame::updateTranslators()
{
if ( !qt_translator ) {
- qt_translator = new TQTranslator( qApp );
- translator = new TQTranslator( qApp );
- qApp->installTranslator( qt_translator );
- qApp->installTranslator( translator );
+ qt_translator = new TQTranslator( tqApp );
+ translator = new TQTranslator( tqApp );
+ tqApp->installTranslator( qt_translator );
+ tqApp->installTranslator( translator );
}
TQString base = TQDir("../../translations").absPath();