]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDialog.cpp
Merge branch 'biblatex2' of git.lyx.org:features into biblatex2
[lyx.git] / src / frontends / qt4 / GuiDialog.cpp
index 1797aeee5fec27f8362f9d98919bd5c6223510b0..cad37e654b9d9ffcc4c01af2bfb85e07019ba50d 100644 (file)
@@ -27,7 +27,13 @@ namespace frontend {
 GuiDialog::GuiDialog(GuiView & lv, QString const & name, QString const & title)
        : QDialog(&lv), Dialog(lv, name, "LyX: " + title), updating_(false), 
          is_closing_(false)
-{}
+{
+       connect(&lv, SIGNAL(bufferViewChanged()),
+               this, SLOT(onBufferViewChanged()));
+
+       // remove question marks from Windows dialogs
+       setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
+}
 
 
 void GuiDialog::closeEvent(QCloseEvent * ev)