mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Merge branch 'branch-qt-5.15' into dev
This commit is contained in:
commit
f1337862f1
|
@ -125,6 +125,7 @@ a:hover
|
|||
padding-right: -1em;
|
||||
padding-left: 0.3em;
|
||||
-webkit-box-ordinal-group: 2;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover
|
||||
|
|
|
@ -3413,7 +3413,8 @@ void MainWindow::on_pageSetup_triggered()
|
|||
|
||||
void MainWindow::on_printPreview_triggered()
|
||||
{
|
||||
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