1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Remove the PDF export dialog window superfluous "Help" button on Windows

This commit is contained in:
Martin Tůma 2016-05-26 00:24:19 +02:00
parent 82df1bec0e
commit 7d38b55f60

View File

@ -19,6 +19,7 @@ ExportDialog::ExportDialog(QPrinter *printer, QWidget *parent)
int index; int index;
setWindowTitle(tr("Export to PDF")); setWindowTitle(tr("Export to PDF"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
_fileSelect = new FileSelectWidget(); _fileSelect = new FileSelectWidget();
_fileSelect->setFilter(tr("PDF files (*.pdf);;All files (*)")); _fileSelect->setFilter(tr("PDF files (*.pdf);;All files (*)"));