summaryrefslogtreecommitdiffstats
path: root/interfaces/terminal/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/terminal/test/main.cpp')
-rw-r--r--interfaces/terminal/test/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/terminal/test/main.cpp b/interfaces/terminal/test/main.cpp
index 29f01085e..bdf5b6764 100644
--- a/interfaces/terminal/test/main.cpp
+++ b/interfaces/terminal/test/main.cpp
@@ -17,7 +17,7 @@ Win::Win()
{
KLibFactory* factory = KLibLoader::self()->factory( "libkonsolepart" );
assert( factory );
- KParts::Part* p = static_cast<KParts::Part*>( factory->create( this, "tralala", "TQObject", "KParts::ReadOnlyPart" ) );
+ KParts::Part* p = factory->create( this, "tralala", "TQObject", "KParts::ReadOnlyPart" ) ;
setCentralWidget( p->widget() );
TerminalInterface* t = ::tqqt_cast<TerminalInterface*>( p );