Skip to content

Commit e1cb7c8

Browse files
[win-linux] ceditortools: debug
1 parent 2a8e1cf commit e1cb7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win-linux/src/ceditortools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ namespace CEditorTools
140140

141141
#ifdef _WIN32
142142
printer->setOutputFileName("");
143-
PrintDialog * dialog = new PrintDialog(printer, this);
143+
PrintDialog * dialog = new PrintDialog(printer, parent);
144144
#else
145145
QFileInfo info(documentName);
146146
QString pdfName = Utils::lastPath(LOCAL_PATH_SAVE) + "/" + info.baseName() + ".pdf";

0 commit comments

Comments
 (0)