mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
print preview blurry
This commit is contained in:
parent
913e4128ca
commit
3ea8fd78ef
|
@ -3336,8 +3336,8 @@ void MainWindow::on_pageSetup_triggered()
|
||||||
|
|
||||||
void MainWindow::on_printPreview_triggered()
|
void MainWindow::on_printPreview_triggered()
|
||||||
{
|
{
|
||||||
// QPrinter printer;
|
QPrinter printer;
|
||||||
QPrintPreviewDialog dialog( &getPrinter(), this );
|
QPrintPreviewDialog dialog( &printer, this );
|
||||||
|
|
||||||
connect( &dialog, SIGNAL( paintRequested( QPrinter * ) ),
|
connect( &dialog, SIGNAL( paintRequested( QPrinter * ) ),
|
||||||
this, SLOT( printPreviewPaintRequested( QPrinter * ) ) );
|
this, SLOT( printPreviewPaintRequested( QPrinter * ) ) );
|
||||||
|
|
Loading…
Reference in a new issue