From 8535db1bd8fd6b5da3ff2c785bdd7512f53779e3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 2 Oct 2011 01:48:15 +0000 Subject: Apply initial code patches to the mozilla kparts plugin to allow for code compilablility This does not enable the build system for the plugin at this time Thanks go to Julius Schwartzenberg for his effort to fix this plugin, especially on the DCOP side of things! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1256724 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- xparts/src/kde/xparthost_kpart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xparts/src/kde/xparthost_kpart.cpp') 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( m_stub->windowId() ) ); - m_stub->show(); embed->show(); DCOPRef ref = m_stub->queryExtension("browserextension"); if( !ref.isNull() ) { -- cgit v1.2.1