mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
Remove context help button hint from file dialogs
This removes the useless '?' button that appears in Windows builds when using non-native dialogs. Complements cf26d53e.
This commit is contained in:
parent
f411040a33
commit
ded8b1b3da
@ -51,6 +51,7 @@ LyXFileDialog::LyXFileDialog(QString const & title,
|
||||
{
|
||||
setNameFilters(filters);
|
||||
setWindowTitle(title);
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setOption(QFileDialog::DontUseNativeDialog);
|
||||
|
||||
QList<QHBoxLayout *> layout = findChildren<QHBoxLayout *>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user