mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Fixed a bunch of things.
This commit is contained in:
@@ -408,13 +408,12 @@ void SeerMemoryVisualizerWidget::handlePrintButton () {
|
||||
|
||||
QPrinter printer;
|
||||
|
||||
QPrintDialog* dlg = new QPrintDialog(&printer, this);
|
||||
QPrintDialog dialog(&printer, this);
|
||||
|
||||
if (dlg->exec() != QDialog::Accepted) {
|
||||
if (dialog.exec() != QDialog::Accepted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Make a copy so we can temporarily add a header.
|
||||
QTextDocument* clone = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user