Fix usage of QPageLayout by calling the non default constructor

Authored by piggz on Jan 20 2017, 6:36 PM.

Description

Fix usage of QPageLayout by calling the non default constructor

Summary: Ensures internal unit is initialised.

Test Plan: Run kreportexample and ensure page width is as before. Change page size. Open existing reports in Kexi

Reviewers: staniek

Reviewed By: staniek

Tags: KReport

Differential Revision: https://phabricator.kde.org/D4021

Details