Fix print preview in Kig
Summary:
Currently, print preview shows nothing due to the lack of connection.
This patch tries to fix this.
Test Plan:
- Open an example plot.
- Select "File -> Print preview". The print preview should be shown.
Reviewers: KDE Edu
Subscribers: kde-edu
Tags: KDE Edu
Differential Revision: https://phabricator.kde.org/D17585