mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove question marks from Windows dialogs
This commit is contained in:
parent
071eed8664
commit
cf26d53e03
@ -30,7 +30,10 @@ public:
|
||||
/// \param title is the window title used for decoration.
|
||||
DialogView(GuiView & lv, QString const & name, QString const & title)
|
||||
: QDialog(&lv), Dialog(lv, name, "LyX: " + title)
|
||||
{}
|
||||
{
|
||||
// remove question marks from Windows dialogs
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
}
|
||||
|
||||
virtual QWidget * asQWidget() { return this; }
|
||||
virtual QWidget const * asQWidget() const { return this; }
|
||||
|
@ -27,7 +27,10 @@ namespace frontend {
|
||||
GuiDialog::GuiDialog(GuiView & lv, QString const & name, QString const & title)
|
||||
: QDialog(&lv), Dialog(lv, name, "LyX: " + title), updating_(false),
|
||||
is_closing_(false)
|
||||
{}
|
||||
{
|
||||
// remove question marks from Windows dialogs
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
}
|
||||
|
||||
|
||||
void GuiDialog::closeEvent(QCloseEvent * ev)
|
||||
|
Loading…
Reference in New Issue
Block a user