summaryrefslogtreecommitdiffstats
path: root/xparts/src/kde/xparthost_kpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xparts/src/kde/xparthost_kpart.cpp')
-rw-r--r--xparts/src/kde/xparthost_kpart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xparts/src/kde/xparthost_kpart.cpp b/xparts/src/kde/xparthost_kpart.cpp
index 77def3ff..807ada77 100644
--- a/xparts/src/kde/xparthost_kpart.cpp
+++ b/xparts/src/kde/xparthost_kpart.cpp
@@ -42,11 +42,11 @@ DCOPRef XPartHost_KPart::registerXPart( const DCOPRef &part )
assert( m_stub == 0 );
m_stub = new XPart_stub( part.app(), part.object() );
+ m_stub->show();
kdDebug() << "embedding window " << m_stub->windowId() << endl;
embed->embed( static_cast<WId>( m_stub->windowId() ) );
- m_stub->show();
embed->show();
DCOPRef ref = m_stub->queryExtension("browserextension");
if( !ref.isNull() ) {