Move QImage initialization to initializer list. Ref #143