mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +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()
|
||||
{
|
||||
// QPrinter printer;
|
||||
QPrintPreviewDialog dialog( &getPrinter(), this );
|
||||
QPrinter printer;
|
||||
QPrintPreviewDialog dialog( &printer, this );
|
||||
|
||||
connect( &dialog, SIGNAL( paintRequested( QPrinter * ) ),
|
||||
this, SLOT( printPreviewPaintRequested( QPrinter * ) ) );
|
||||
|
|
Loading…
Reference in a new issue