OSDN Git Service

Fix context help for examples
authorDaniel Molkentin <daniel.molkentin@nokia.com>
Thu, 19 May 2011 15:14:53 +0000 (17:14 +0200)
committerhjk <qthjk@ovi.com>
Thu, 26 May 2011 11:49:37 +0000 (13:49 +0200)
commita5eb8bce01814bdd81e583478b58f138d82cc076
treeaa5bcb8d11e127619f337c910811519f4dbafdcb
parent3111703828251da66563f16c1965291d1642a30f
Fix context help for examples

- createRightPaneContextViewer() needs to be called up-front. In the old
order, it would fail the first time.

- Queue opening of help, because we need the editor window to be drawn
  before it can be assessed wether to show the help in split mode

Change-Id: Ib2054285efb07ccbfaf3faf089085c16ba432be8z
(cherry picked from commit c86e81c362411d1f766d36f0f0946a5039fb65fd)
Reviewed-on: http://codereview.qt.nokia.com/149
Reviewed-by: hjk <qthjk@ovi.com>
src/plugins/help/helpplugin.cpp
src/plugins/qt4projectmanager/gettingstartedwelcomepagewidget.cpp