forked from qt-creator/qt-creator
This reduces number of objects created on startup, and also allows us to simplify the logic a bit. Change-Id: I6c7c2c5e537ff9a1882e133551f89c056cbe4fe5 Reviewed-on: http://codereview.qt-project.org/6359 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>