Skip to content
Permalink
Browse files
2010-03-05 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
        Reviewed by Eric Seidel.

        Fix Print option on QtLauncher by calling print directly from QWebFrame.

        [Qt] QtLauncher Print option is not working on QGraphicsView mode
        https://bugs.webkit.org/show_bug.cgi?id=35769

        * QtLauncher/main.cpp:
        (LauncherWindow::print):

Canonical link: https://commits.webkit.org/46907@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
eseidel committed Mar 6, 2010
1 parent 6bf8cf1 commit 31e6d470dc9f64571b1c19ff0810295381bdef63
Showing 2 changed files with 13 additions and 1 deletion.
@@ -1,3 +1,15 @@
2010-03-05 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>

Reviewed by Eric Seidel.

Fix Print option on QtLauncher by calling print directly from QWebFrame.

[Qt] QtLauncher Print option is not working on QGraphicsView mode
https://bugs.webkit.org/show_bug.cgi?id=35769

* QtLauncher/main.cpp:
(LauncherWindow::print):

2010-03-05 Chris Jerdonek <cjerdonek@webkit.org>

Reviewed by Eric Seidel.
@@ -431,7 +431,7 @@ void LauncherWindow::print()
#if !defined(QT_NO_PRINTER)
QPrintPreviewDialog dlg(this);
connect(&dlg, SIGNAL(paintRequested(QPrinter*)),
m_view, SLOT(print(QPrinter*)));
page()->mainFrame(), SLOT(print(QPrinter*)));
dlg.exec();
#endif
}

0 comments on commit 31e6d47

Please sign in to comment.